Package net.minecraft.server.dedicated
Class ServerInfoMBean
java.lang.Object
net.minecraft.server.dedicated.ServerInfoMBean
- All Implemented Interfaces:
DynamicMBean
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<String,
ServerInfoMBean.Attribute> private static final org.apache.logging.log4j.Logger
private final MBeanInfo
private final MinecraftServer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String p_getAttribute_1_) getAttributes
(String[] p_getAttributes_1_) private float
private long[]
static void
registerJmxMonitoring
(MinecraftServer p_233490_0_) void
setAttribute
(Attribute p_setAttribute_1_) setAttributes
(AttributeList p_setAttributes_1_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
server
-
mBeanInfo
-
attributeDescriptionByName
-
-
Constructor Details
-
ServerInfoMBean
-
-
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
-