public interface MeshNode
Modifier and Type | Interface and Description |
---|---|
static class |
MeshNode.State
Enumerates the possible states for a given
Mesh node . |
Modifier and Type | Method and Description |
---|---|
long |
getId() |
Date |
getLastSeenDate() |
String |
getName() |
default String |
getRpcId() |
String |
getRpcUrl() |
MeshNode.State |
getState() |
boolean |
isAvailable() |
boolean |
isOffline() |
default boolean |
isSidecar() |
long getId()
@Nullable Date getLastSeenDate()
null
@Nonnull @RequiredString String getName()
@Nonnull default String getRpcId()
@Nonnull @RequiredString String getRpcUrl()
@Nonnull MeshNode.State getState()
boolean isAvailable()
true
if the node's state
is MeshNode.State.AVAILABLE
boolean isOffline()
true
if the node is currently offline; otherwise, false
default boolean isSidecar()
true
if this instance is the sidecar node; otherwise, false
Copyright © 2024 Atlassian. All rights reserved.