Class MinecraftServerStatistics
java.lang.Object
net.minecraft.util.monitoring.jmx.MinecraftServerStatistics
- All Implemented Interfaces:
DynamicMBean
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static final class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<String,
MinecraftServerStatistics.AttributeDescription> private static final org.slf4j.Logger
private final MBeanInfo
private final 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.slf4j.Logger LOGGER -
server
-
mBeanInfo
-
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
-