net.minecraft.server.dedicated

public final class ServerMBean

implements DynamicMBean

net.minecraft.util.monitoring.jmx.MinecraftServerStatistics
net.minecraft.class_5169
net.minecraft.server.dedicated.ServerMBean

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_23970
LOGGER
private final MinecraftServer
server
field_23971
server
private final MBeanInfo
mBeanInfo
field_23972
mBeanInfo
private final Map<String, ServerMBean$Entry>
attributeDescriptionByName
field_23973
entries

Constructor summary

ModifierConstructor
private (MinecraftServer server)

Method summary

Modifier and TypeMethod
public static void
registerJmxMonitoring(MinecraftServer server)
method_27181(MinecraftServer arg0)
register(MinecraftServer server)
private float
getAverageTickTime()
method_27177()
getAverageTickTime()
private long[]
getTickTimes()
method_27182()
getTickTimes()
public Object
getAttribute(String attribute)
getAttribute(String arg0)
getAttribute(String attribute)
public void
setAttribute(Attribute attribute)
setAttribute(Attribute arg0)
setAttribute(Attribute attribute)
public AttributeList
getAttributes(String[] attributes)
getAttributes(String[] arg0)
getAttributes(String[] attributes)
public AttributeList
setAttributes(AttributeList attributes)
setAttributes(AttributeList arg0)
setAttributes(AttributeList attributes)
public Object
invoke(String actionName, Object[] params, String[] signature)
invoke(String arg0, Object[] arg1, String[] arg2)
invoke(String actionName, Object[] params, String[] signature)
public MBeanInfo
getMBeanInfo()
private static Attribute
lambda$getAttributes$0(MinecraftServerStatistics$AttributeDescription arg0)
method_27179(class_5169$class_5170 arg0)
method_27179(ServerMBean$Entry entry)
private static MBeanAttributeInfo[]
lambda$new$1(int arg0)
method_27178(int arg0)
method_27178(int arg0)
private static String
lambda$new$0(MinecraftServerStatistics$AttributeDescription arg0)
method_27183(class_5169$class_5170 arg0)
method_27183(ServerMBean$Entry entry)