Package beer.devs.fastnbt
Class ApiMetrics
java.lang.Object
beer.devs.fastnbt.ApiMetrics
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classAn extremely simple JSON builder.static classstatic classstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionApiMetrics(String pluginName, String pluginVersion, int serviceId) Creates a new Metrics instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a custom chart.voidshutdown()Shuts down the underlying scheduler service.
-
Constructor Details
-
ApiMetrics
Creates a new Metrics instance.- Parameters:
pluginName- Your plugin name.serviceId- The id of the service.
-
-
Method Details
-
shutdown
public void shutdown()Shuts down the underlying scheduler service. -
addCustomChart
Adds a custom chart.- Parameters:
chart- The chart to add.
-