Uses of Class
de.aristaflow.adept2.model.cluster.Status
-
Packages that use Status Package Description de.aristaflow.adept2.core.registry.cluster de.aristaflow.adept2.model.cluster -
-
Uses of Status in de.aristaflow.adept2.core.registry.cluster
Fields in de.aristaflow.adept2.core.registry.cluster declared as Status Modifier and Type Field Description protected Status
ClusterNodeState. status
The current status of the cluster node.protected Status
ServiceStateTracker.PlatformAvailabilityNotifier. status
The new status of the cluster node.Fields in de.aristaflow.adept2.core.registry.cluster with type parameters of type Status Modifier and Type Field Description protected HashSet<Status>
ServiceStateTracker. relevantStatuses
The statuses which are relevant for the (un-)availability of the platform.Methods in de.aristaflow.adept2.core.registry.cluster that return Status Modifier and Type Method Description Status
ClusterNode. restart(long timeout)
Deprecated.Sends a restart request to this cluster node and waits the designated time for the restart.Methods in de.aristaflow.adept2.core.registry.cluster that return types with arguments of type Status Modifier and Type Method Description Triple<Status,Long,Long>
ClusterNodeState. awaitStatus(long timeout, Status... statuses)
Waits until the cluster node reaches one of the designated statuses or until the designated timeout elapsed.Triple<Status,Long,Long>
ClusterNodeState. getStatus()
Gets the current status of the cluster node without waiting.Methods in de.aristaflow.adept2.core.registry.cluster with parameters of type Status Modifier and Type Method Description Triple<Status,Long,Long>
ClusterNodeState. awaitStatus(long timeout, Status... statuses)
Waits until the cluster node reaches one of the designated statuses or until the designated timeout elapsed.void
ServiceStateTracker.PlatformStateListener. isAvailable(String clusterNodeName, Status status, long lastStatusUpdate, long runningSince)
Notifies that the platform has become available in the designated node.void
ServiceStateTracker.PlatformStateListener. isUnavailable(String clusterNodeName, Status status, long lastStatusUpdate, long runningSince)
Notifies that the platform has become unavailable in the designated node.Constructors in de.aristaflow.adept2.core.registry.cluster with parameters of type Status Constructor Description PlatformAvailabilityNotifier(Status status, long lastStatusUpdate, long runningSince)
Creates a new callable for notifying the designated status data. -
Uses of Status in de.aristaflow.adept2.model.cluster
Fields in de.aristaflow.adept2.model.cluster declared as Status Modifier and Type Field Description protected Status
SimpleClusterNodeInformation. status
The status of this cluster node.Methods in de.aristaflow.adept2.model.cluster that return Status Modifier and Type Method Description Status
SimpleClusterNodeInformation. getStatus()
Gets the status of this cluster node.static Status
Status. valueOf(int code)
Gets the status for the corresponding code ornull
in case there is no corresponding status for the designated code.static Status
Status. valueOf(String name)
Returns the enum constant of this type with the specified name.static Status[]
Status. values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in de.aristaflow.adept2.model.cluster with parameters of type Status Constructor Description ClusterNodeInformation(String clusterName, String nodeName, String nodeAddress, Status status, long retrievalTime, long lastOwnUpdate, long sinceLastOwnUpdate, long lastForeignUpdate, long sinceLastForeignUpdate, long runningSince, URI[] globalRegUris, URI[] interNodeCommUris, long serverLostCommCount)
Creates information for a specific cluster node.ClusterNodeInformation(String clusterName, String nodeName, String nodeAddress, Status status, long lastOwnUpdate, long sinceLastOwnUpdate, long lastForeignUpdate, long sinceLastForeignUpdate, long runningSince, URI[] globalRegUris, URI[] interNodeCommUris, long serverLostCommCount)
SimpleClusterNodeInformation(String clusterName, String nodeName, String nodeAddress, Status status, long lastOwnUpdate, long runningSince)
Creates simple information for a specific cluster node.
-