Class TPSBuilder
java.lang.Object
com.djrapitops.plan.gathering.domain.builders.TPSBuilder
Builder for TPS to make it easier to manage.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionchunksLoaded
(int chunksLoaded) date
(long date) entities
(int count) freeDiskSpace
(long freeDiskSpace) static TPSBuilder
get()
mspt95thPercentile
(double mspt95thPercentile, boolean wasNull) mspt95thPercentile
(Double mspt95thPercentile) msptAverage
(double msptAverage, boolean wasNull) msptAverage
(Double msptAverage) 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 -
msptAverage
-
mspt95thPercentile
-
-
Method Details
-
get
-
toTPS
-
date
-
tps
-
playersOnline
-
usedCPU
-
usedMemory
-
entities
-
chunksLoaded
-
freeDiskSpace
-
msptAverage
-
msptAverage
-
mspt95thPercentile
-
mspt95thPercentile
-