public class TPS extends Object
Constructor and Description |
---|
TPS(long date,
double ticksPerSecond,
int players,
double cpuUsage,
long usedMemory,
int entityCount,
int chunksLoaded)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getChunksLoaded()
Get the amount of chunks loaded for the time, when the data was fetched
|
double |
getCPUUsage()
Get the average CPU Usage for the minute
|
long |
getDate()
Get the time of the average calculation.
|
int |
getEntityCount()
Get the amount of entities for the time, when the data was fetched
|
int |
getPlayers()
Get the player for the time, when the data was fetched.
|
double |
getTicksPerSecond()
Get the average ticksPerSecond for the minute.
|
long |
getUsedMemory()
Get the used memory for the time, when the data was fetched.
|
int |
hashCode() |
String |
toString() |
public TPS(long date, double ticksPerSecond, int players, double cpuUsage, long usedMemory, int entityCount, int chunksLoaded)
date
- time of the TPS calculation.ticksPerSecond
- average ticksPerSecond for the last minute.players
- players for the minute.cpuUsage
- CPU usage for the minuteusedMemory
- used memory at the time of fetchingentityCount
- amount of entities at the time of fetchingchunksLoaded
- amount of chunks loaded at the time of fetchingpublic long getDate()
public double getTicksPerSecond()
public int getPlayers()
public double getCPUUsage()
public long getUsedMemory()
public int getEntityCount()
public int getChunksLoaded()
Copyright © 2017. All rights reserved.