Class TPSBuilder
java.lang.Object
com.djrapitops.plan.gathering.domain.builders.TPSBuilder
Builder for TPS to make it easier to manage.
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected double
protected long
protected int
protected long
protected int
protected double
protected long
-
Method Summary
Modifier and TypeMethodDescriptionchunksLoaded
(int chunksLoaded) date
(long date) entities
(int count) freeDiskSpace
(long freeDiskSpace) static TPSBuilder
get()
playersOnline
(int online) toTPS()
tps
(double tps) usedCPU
(double cpu) usedMemory
(long ram)
-
Field Details
-
date
protected long date -
ticksPerSecond
protected double ticksPerSecond -
players
protected int players -
cpuUsage
protected double cpuUsage -
usedMemory
protected long usedMemory -
entityCount
protected int entityCount -
chunksLoaded
protected int chunksLoaded -
freeDiskSpace
protected long freeDiskSpace
-
-
Method Details
-
get
-
toTPS
-
date
-
tps
-
playersOnline
-
usedCPU
-
usedMemory
-
entities
-
chunksLoaded
-
freeDiskSpace
-