@Singleton public class ServerTPSCounter<W> extends TPSCounter
errorHandler, logger
Constructor and Description |
---|
ServerTPSCounter(ServerSensor<W> serverSensor,
PlanConfig config,
DBSystem dbSystem,
ServerInfo serverInfo,
com.djrapitops.plugin.logging.console.PluginLogger logger,
com.djrapitops.plugin.logging.error.ErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
void |
pulse() |
java.util.Optional<java.lang.Double> |
pulseTPS(long time) |
getFreeDiskSpace, run, warmUp
@Inject public ServerTPSCounter(ServerSensor<W> serverSensor, PlanConfig config, DBSystem dbSystem, ServerInfo serverInfo, com.djrapitops.plugin.logging.console.PluginLogger logger, com.djrapitops.plugin.logging.error.ErrorHandler errorHandler)
public void pulse()
pulse
in class TPSCounter
public java.util.Optional<java.lang.Double> pulseTPS(long time)