Package com.atlassian.bitbucket.mesh
Interface MeshNode
public interface MeshNode
Represents a node that manages git repositories
- Since:
 - 8.0
 
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumEnumerates the possible states for a givenMesh node. - 
Method Summary
 
- 
Method Details
- 
getAvailabilityZone
- Returns:
 - the availability zone of the node, or 
null - Since:
 - 9.3
 
 - 
getId
long getId()- Returns:
 - the (immutable) ID of the node
 
 - 
hasAvailabilityZone
default boolean hasAvailabilityZone()- Returns:
 trueif the node has an availability zone; otherwise,false- Since:
 - 9.3
 
 - 
getLastSeenDate
- Returns:
 - when the last successful request was made to the node, or 
null 
 - 
getName
- Returns:
 - the human-readable name of the node, used in the UI and logs
 
 - 
getRpcId
- Returns:
 - the node's RPC ID, which is used to identify the node during requests
 
 - 
getRpcUrl
- Returns:
 - the node's RPC URL, including the scheme and port
 
 - 
getState
- Returns:
 - the node's current state
 - Since:
 - 8.4
 
 - 
isAvailable
boolean isAvailable()- Returns:
 trueif the node'sstateisMeshNode.State.AVAILABLE- Since:
 - 8.4
 
 - 
isOffline
boolean isOffline()- Returns:
 trueif the node is currently offline; otherwise,false
 - 
isSidecar
default boolean isSidecar()- Returns:
 trueif this instance is the sidecar node; otherwise,false
 
 -