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 TypeMethodDescriptionintNumber of active (non-stopped) instances.intNumber of available processors.intCurrent daemon thread count.longCumulative GC collection count across all collectors.longCumulative GC collection time in milliseconds across all collectors.longHeap memory committed (reserved by JVM) in bytes.longMaximum heap memory in bytes (-1 if undefined).longHeap memory currently used in bytes.longNon-heap memory currently used in bytes.doubleJVM process CPU load (0.0 to 1.0, or -1.0 if unavailable).doubleSystem-wide CPU load (0.0 to 1.0, or -1.0 if unavailable).intCurrent live thread count.com.google.protobuf.TimestampWhen this snapshot was taken.com.google.protobuf.TimestampOrBuilderWhen this snapshot was taken.intTotal bots online across all instances.intTotal bots configured across all instances.longJVM uptime in milliseconds.booleanWhen this snapshot was taken.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-