Package com.atlassian.bitbucket.mesh
Interface MeshNode
public interface MeshNode
Represents a node that manages git repositories
- Since:
- 8.0
- 
Nested Class SummaryNested 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
 
- 
getIdlong getId()- Returns:
- the (immutable) ID of the node
 
- 
hasAvailabilityZonedefault 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
 
- 
isAvailableboolean isAvailable()- Returns:
- trueif the node's- stateis- MeshNode.State.AVAILABLE
- Since:
- 8.4
 
- 
isOfflineboolean isOffline()- Returns:
- trueif the node is currently offline; otherwise,- false
 
- 
isSidecardefault boolean isSidecar()- Returns:
- trueif this instance is the sidecar node; otherwise,- false
 
 
-