@Singleton public class SpongeTPSCountTimer extends TPSCountTimer
dbSystem, errorHandler, history, latestPlayersOnline, logger, serverInfo
Constructor and Description |
---|
SpongeTPSCountTimer(PlanSponge plugin,
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 SpongeTPSCountTimer(PlanSponge plugin, 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 TPSCountTimer