Class HealthCheckNetworkStatus

java.lang.Object
at.qubic.api.network.HealthCheckNetworkStatus
All Implemented Interfaces:
NetworkStatus

public class HealthCheckNetworkStatus extends Object implements NetworkStatus
  • Constructor Details

    • HealthCheckNetworkStatus

      public HealthCheckNetworkStatus()
  • Method Details

    • update

      public reactor.core.publisher.Mono<TickInfo> update(Collection<Node> nodes)
      Returns the latest known tick.
      Specified by:
      update in interface NetworkStatus
      Parameters:
      nodes - nodes to ask for latest tick.
      Returns:
      one of the most current tick infos queried from the nodes.
    • getTickStatus

      public reactor.core.publisher.Mono<TickStatus> getTickStatus()
      Specified by:
      getTickStatus in interface NetworkStatus
    • logStats

      protected void logStats(Collection<Node> nodes)