Interface MetricsSnapshotOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetricsSnapshot, MetricsSnapshot.Builder
@Generated
public interface MetricsSnapshotOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondoubleAverage food level across all online bots with player data.doubleAverage health across all online bots with player data.doubleAverage tick duration across all bots in milliseconds.intNumber of bots currently connected to the Minecraft server.intTotal number of bots configured in the instance (online + offline).doubleCurrent rate of bytes received per second (computed from counter deltas).longCumulative bytes received across all bots since session start.doubleCurrent rate of bytes sent per second (computed from counter deltas).longCumulative bytes sent across all bots since session start.intConnection events since the previous snapshot.intDisconnection events since the previous snapshot.doubleMaximum tick duration observed across all bots in milliseconds.doubleCurrent rate of packets received per second (computed from counter deltas).longCumulative packets received across all bots since session start.doubleCurrent rate of packets sent per second (computed from counter deltas).longCumulative packets sent across all bots since session start.com.google.protobuf.TimestampWhen this snapshot was taken.com.google.protobuf.TimestampOrBuilderWhen this snapshot was taken.intTotal number of loaded chunks across all online bots.intTotal number of tracked entities across all online bots.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; -
getBotsOnline
int getBotsOnline()Number of bots currently connected to the Minecraft server.
uint32 bots_online = 2;- Returns:
- The botsOnline.
-
getBotsTotal
int getBotsTotal()Total number of bots configured in the instance (online + offline).
uint32 bots_total = 3;- Returns:
- The botsTotal.
-
getPacketsSentTotal
long getPacketsSentTotal()Cumulative packets sent across all bots since session start.
uint64 packets_sent_total = 4;- Returns:
- The packetsSentTotal.
-
getPacketsReceivedTotal
long getPacketsReceivedTotal()Cumulative packets received across all bots since session start.
uint64 packets_received_total = 5;- Returns:
- The packetsReceivedTotal.
-
getBytesSentTotal
long getBytesSentTotal()Cumulative bytes sent across all bots since session start.
uint64 bytes_sent_total = 6;- Returns:
- The bytesSentTotal.
-
getBytesReceivedTotal
long getBytesReceivedTotal()Cumulative bytes received across all bots since session start.
uint64 bytes_received_total = 7;- Returns:
- The bytesReceivedTotal.
-
getPacketsSentPerSecond
double getPacketsSentPerSecond()Current rate of packets sent per second (computed from counter deltas).
double packets_sent_per_second = 8;- Returns:
- The packetsSentPerSecond.
-
getPacketsReceivedPerSecond
double getPacketsReceivedPerSecond()Current rate of packets received per second (computed from counter deltas).
double packets_received_per_second = 9;- Returns:
- The packetsReceivedPerSecond.
-
getBytesSentPerSecond
double getBytesSentPerSecond()Current rate of bytes sent per second (computed from counter deltas).
double bytes_sent_per_second = 10;- Returns:
- The bytesSentPerSecond.
-
getBytesReceivedPerSecond
double getBytesReceivedPerSecond()Current rate of bytes received per second (computed from counter deltas).
double bytes_received_per_second = 11;- Returns:
- The bytesReceivedPerSecond.
-
getAvgTickDurationMs
double getAvgTickDurationMs()Average tick duration across all bots in milliseconds.
double avg_tick_duration_ms = 12;- Returns:
- The avgTickDurationMs.
-
getMaxTickDurationMs
double getMaxTickDurationMs()Maximum tick duration observed across all bots in milliseconds. Reset each sampling interval.
double max_tick_duration_ms = 13;- Returns:
- The maxTickDurationMs.
-
getAvgHealth
double getAvgHealth()Average health across all online bots with player data. Range: 0 to 20 (Minecraft health points).
double avg_health = 14;- Returns:
- The avgHealth.
-
getAvgFoodLevel
double getAvgFoodLevel()Average food level across all online bots with player data. Range: 0 to 20 (Minecraft food points).
double avg_food_level = 15;- Returns:
- The avgFoodLevel.
-
getTotalLoadedChunks
int getTotalLoadedChunks()Total number of loaded chunks across all online bots.
uint32 total_loaded_chunks = 16;- Returns:
- The totalLoadedChunks.
-
getTotalTrackedEntities
int getTotalTrackedEntities()Total number of tracked entities across all online bots.
uint32 total_tracked_entities = 17;- Returns:
- The totalTrackedEntities.
-
getConnections
int getConnections()Connection events since the previous snapshot.
uint32 connections = 18;- Returns:
- The connections.
-
getDisconnections
int getDisconnections()Disconnection events since the previous snapshot.
uint32 disconnections = 19;- Returns:
- The disconnections.
-