@Singleton public class VelocityTPSCounter extends TPSCounter
dbSystem, errorHandler, history, latestPlayersOnline, logger, serverInfo
Constructor and Description |
---|
VelocityTPSCounter(DBSystem dbSystem,
ServerInfo serverInfo,
ServerProperties serverProperties,
com.djrapitops.plugin.logging.console.PluginLogger logger,
com.djrapitops.plugin.logging.error.ErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
void |
addNewTPSEntry(long nanoTime,
long now) |
getCPUUsage, getFreeDiskSpace, getLatestPlayersOnline, getUsedMemory, run
@Inject public VelocityTPSCounter(DBSystem dbSystem, ServerInfo serverInfo, ServerProperties serverProperties, com.djrapitops.plugin.logging.console.PluginLogger logger, com.djrapitops.plugin.logging.error.ErrorHandler errorHandler)
public void addNewTPSEntry(long nanoTime, long now)
addNewTPSEntry
in class TPSCounter