Package net.pl3x.map.core.metrics
Class Metrics
java.lang.Object
net.pl3x.map.core.metrics.Metrics
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
An extremely simple JSON builder.static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCustomChart
(@NotNull Metrics.CustomChart chart) Adds a custom chart.void
shutdown()
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.
-