All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.graylog2.system.stats.mongo.AutoValue_MongoStats Maven / Gradle / Ivy

There is a newer version: 6.0.6
Show newest version
package org.graylog2.system.stats.mongo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.google.common.net.HostAndPort;
import java.util.List;
import javax.annotation.Nullable;

final class AutoValue_MongoStats extends $AutoValue_MongoStats {
  AutoValue_MongoStats(List servers, BuildInfo buildInfo, HostInfo hostInfo,
      ServerStatus serverStatus, DatabaseStats databaseStats) {
    super(servers, buildInfo, hostInfo, serverStatus, databaseStats);
  }

  @JsonIgnore
  public final List getServers() {
    return servers();
  }

  @JsonIgnore
  public final BuildInfo getBuildInfo() {
    return buildInfo();
  }

  @JsonIgnore
  @Nullable
  public final HostInfo getHostInfo() {
    return hostInfo();
  }

  @JsonIgnore
  @Nullable
  public final ServerStatus getServerStatus() {
    return serverStatus();
  }

  @JsonIgnore
  @Nullable
  public final DatabaseStats getDatabaseStats() {
    return databaseStats();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy