Interface ServerMetricsSnapshotOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ServerMetricsSnapshot, ServerMetricsSnapshot.Builder

@Generated public interface ServerMetricsSnapshotOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Number of active (non-stopped) instances.
    int
    Number of available processors.
    int
    Current daemon thread count.
    long
    Cumulative GC collection count across all collectors.
    long
    Cumulative GC collection time in milliseconds across all collectors.
    long
    Heap memory committed (reserved by JVM) in bytes.
    long
    Maximum heap memory in bytes (-1 if undefined).
    long
    Heap memory currently used in bytes.
    long
    Non-heap memory currently used in bytes.
    double
    JVM process CPU load (0.0 to 1.0, or -1.0 if unavailable).
    double
    System-wide CPU load (0.0 to 1.0, or -1.0 if unavailable).
    int
    Current live thread count.
    com.google.protobuf.Timestamp
    When this snapshot was taken.
    com.google.protobuf.TimestampOrBuilder
    When this snapshot was taken.
    int
    Total bots online across all instances.
    int
    Total bots configured across all instances.
    long
    JVM uptime in milliseconds.
    boolean
    When this snapshot was taken.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasTimestamp

      boolean hasTimestamp()
      When this snapshot was taken.
      
      .google.protobuf.Timestamp timestamp = 1;
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      com.google.protobuf.Timestamp getTimestamp()
      When this snapshot was taken.
      
      .google.protobuf.Timestamp timestamp = 1;
      Returns:
      The timestamp.
    • getTimestampOrBuilder

      com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
      When this snapshot was taken.
      
      .google.protobuf.Timestamp timestamp = 1;
    • getProcessCpuLoad

      double getProcessCpuLoad()
      JVM process CPU load (0.0 to 1.0, or -1.0 if unavailable).
      
      double process_cpu_load = 2;
      Returns:
      The processCpuLoad.
    • getSystemCpuLoad

      double getSystemCpuLoad()
      System-wide CPU load (0.0 to 1.0, or -1.0 if unavailable).
      
      double system_cpu_load = 3;
      Returns:
      The systemCpuLoad.
    • getHeapUsedBytes

      long getHeapUsedBytes()
      Heap memory currently used in bytes.
      
      uint64 heap_used_bytes = 4;
      Returns:
      The heapUsedBytes.
    • getHeapCommittedBytes

      long getHeapCommittedBytes()
      Heap memory committed (reserved by JVM) in bytes.
      
      uint64 heap_committed_bytes = 5;
      Returns:
      The heapCommittedBytes.
    • getHeapMaxBytes

      long getHeapMaxBytes()
      Maximum heap memory in bytes (-1 if undefined).
      
      int64 heap_max_bytes = 6;
      Returns:
      The heapMaxBytes.
    • getNonHeapUsedBytes

      long getNonHeapUsedBytes()
      Non-heap memory currently used in bytes.
      
      uint64 non_heap_used_bytes = 7;
      Returns:
      The nonHeapUsedBytes.
    • getThreadCount

      int getThreadCount()
      Current live thread count.
      
      uint32 thread_count = 8;
      Returns:
      The threadCount.
    • getDaemonThreadCount

      int getDaemonThreadCount()
      Current daemon thread count.
      
      uint32 daemon_thread_count = 9;
      Returns:
      The daemonThreadCount.
    • getGcCollectionCount

      long getGcCollectionCount()
      Cumulative GC collection count across all collectors.
      
      uint64 gc_collection_count = 10;
      Returns:
      The gcCollectionCount.
    • getGcCollectionTimeMs

      long getGcCollectionTimeMs()
      Cumulative GC collection time in milliseconds across all collectors.
      
      uint64 gc_collection_time_ms = 11;
      Returns:
      The gcCollectionTimeMs.
    • getUptimeMs

      long getUptimeMs()
      JVM uptime in milliseconds.
      
      uint64 uptime_ms = 12;
      Returns:
      The uptimeMs.
    • getAvailableProcessors

      int getAvailableProcessors()
      Number of available processors.
      
      uint32 available_processors = 13;
      Returns:
      The availableProcessors.
    • getTotalBotsOnline

      int getTotalBotsOnline()
      Total bots online across all instances.
      
      uint32 total_bots_online = 14;
      Returns:
      The totalBotsOnline.
    • getTotalBotsTotal

      int getTotalBotsTotal()
      Total bots configured across all instances.
      
      uint32 total_bots_total = 15;
      Returns:
      The totalBotsTotal.
    • getActiveInstances

      int getActiveInstances()
      Number of active (non-stopped) instances.
      
      uint32 active_instances = 16;
      Returns:
      The activeInstances.