Package at.qubic.api.network
Class HealthCheckNetworkStatus
java.lang.Object
at.qubic.api.network.HealthCheckNetworkStatus
- All Implemented Interfaces:
NetworkStatus
-
Field Summary
Fields inherited from interface at.qubic.api.network.NetworkStatus
INITIAL_EPOCH, INITIAL_TICK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<TickStatus> protected voidlogStats(Collection<Node> nodes) reactor.core.publisher.Mono<TickInfo> update(Collection<Node> nodes) Returns the latest known tick.
-
Constructor Details
-
HealthCheckNetworkStatus
public HealthCheckNetworkStatus()
-
-
Method Details
-
update
Returns the latest known tick.- Specified by:
updatein interfaceNetworkStatus- Parameters:
nodes- nodes to ask for latest tick.- Returns:
- one of the most current tick infos queried from the nodes.
-
getTickStatus
- Specified by:
getTickStatusin interfaceNetworkStatus
-
logStats
-