Class VanillaMetrics
java.lang.Object
tech.skworks.tachyon.api.metrics.MetricsCollector
tech.skworks.tachyon.plugin.core.metric.scraper.VanillaMetrics
High-performance Vanilla and Spark metrics collector using Micrometer.
Project Tachyon
- Since:
- 1.0.0-SNAPSHOT
- Version:
- 2.0
- Author:
- Jimmy (vSKAH) - 07/04/2026
-
Field Summary
Fields inherited from class MetricsCollector
serverName -
Constructor Summary
ConstructorsConstructorDescriptionVanillaMetrics(@NotNull String serverName, TachyonCore plugin, io.micrometer.core.instrument.MeterRegistry meterRegistry) -
Method Summary
-
Constructor Details
-
VanillaMetrics
public VanillaMetrics(@NotNull @NotNull String serverName, TachyonCore plugin, io.micrometer.core.instrument.MeterRegistry meterRegistry)
-
-
Method Details
-
start
public void start()- Specified by:
startin classMetricsCollector
-
updateMetrics
public void updateMetrics()- Specified by:
updateMetricsin classMetricsCollector
-
stop
public void stop()- Specified by:
stopin classMetricsCollector
-
incrementTotalPlayers
public static void incrementTotalPlayers()
-