Class PerformanceJSONCreator
java.lang.Object
com.djrapitops.plan.delivery.rendering.json.PerformanceJSONCreator
- All Implemented Interfaces:
ServerTabJSONCreator<Map<String,Object>>, Function<ServerUUID, Map<String, Object>>
@Singleton
@Deprecated(since="2026-05-24 / 5.7 build 3460")
public class PerformanceJSONCreator
extends Object
implements ServerTabJSONCreator<Map<String,Object>>
Deprecated.
Use /v1/datapoint instead (types TPS_LOW_SPIKES, UPTIME, DOWNTIME, TPS_AVERAGE, PLAYERS_ONLINE_AVERAGE, MSPT_AVERAGE, CPU_AVERAGE, RAM_AVERAGE, ENTITIES_AVERAGE, CHUNKS_AVERAGE, DISK_MAX, DISK_MIN).
Creates JSON payload for /server-page Performance tab.
-
Constructor Summary
ConstructorsConstructorDescriptionPerformanceJSONCreator(PlanConfig config, DBSystem dbSystem, Locale locale, net.playeranalytics.plugin.server.PluginLogger logger, Formatters formatters) Deprecated. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ServerTabJSONCreator
apply
-
Constructor Details
-
PerformanceJSONCreator
@Inject public PerformanceJSONCreator(PlanConfig config, DBSystem dbSystem, Locale locale, net.playeranalytics.plugin.server.PluginLogger logger, Formatters formatters) Deprecated.
-
-
Method Details
-
createJSONAsMap
Deprecated.- Specified by:
createJSONAsMapin interfaceServerTabJSONCreator<Map<String,Object>>
-