Package net.pl3x.map.core.metrics
Class Metrics
java.lang.Object
net.pl3x.map.core.metrics.Metrics
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classAn extremely simple JSON builder.static classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a custom chart.voidshutdown()Shuts down the underlying scheduler service.
-
Constructor Details
-
Metrics
Creates a new Metrics instance.- Parameters:
pl3xmap- The Pl3xMap API instance this metrics started with.- Throws:
IOException
-
-
Method Details
-
shutdown
public void shutdown()Shuts down the underlying scheduler service. -
addCustomChart
Adds a custom chart.- Parameters:
chart- The chart to add.
-