Class StatusResponse

java.lang.Object
com.arpnetworking.clusteraggregator.models.StatusResponse

public final class StatusResponse extends Object
Response model for the status http endpoint.
Author:
Brandon Arp (brandon dot arp at inscopemetrics dot com)
  • Method Details

    • getClusterLeader

      @Nullable public String getClusterLeader()
    • getLocalAddress

      public String getLocalAddress()
    • isLeader

      public boolean isLeader()
    • getMembers

      public Iterable<org.apache.pekko.cluster.Member> getMembers()
    • getLocalMetrics

      public Map<Duration,PeriodMetrics> getLocalMetrics()
    • getAllocations

      public Optional<List<ShardAllocation>> getAllocations()
    • getVersionInfo

      public VersionInfo getVersionInfo()