Class MinecraftServerStatistics
java.lang.Object
net.minecraft.util.monitoring.jmx.MinecraftServerStatistics
- All Implemented Interfaces:
DynamicMBean
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.logging.log4j.Logger
private MBeanInfo
private MinecraftServer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String p_18334_)
getAttributes(String[] p_18336_)
private float
private long[]
static void
registerJmxMonitoring(MinecraftServer p_18329_)
void
setAttribute(Attribute p_18343_)
setAttributes(AttributeList p_18345_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
server
-
mBeanInfo
-
attributeDescriptionByName
private final Map<String,MinecraftServerStatistics.AttributeDescription> attributeDescriptionByName
-
-
Constructor Details
-
MinecraftServerStatistics
-
-
Method Details
-
registerJmxMonitoring
-
getAverageTickTime
private float getAverageTickTime() -
getTickTimes
private long[] getTickTimes() -
getAttribute
- Specified by:
getAttribute
in interfaceDynamicMBean
-
setAttribute
- Specified by:
setAttribute
in interfaceDynamicMBean
-
getAttributes
- Specified by:
getAttributes
in interfaceDynamicMBean
-
setAttributes
- Specified by:
setAttributes
in interfaceDynamicMBean
-
invoke
- Specified by:
invoke
in interfaceDynamicMBean
-
getMBeanInfo
- Specified by:
getMBeanInfo
in interfaceDynamicMBean
-