Class TPSMutator
java.lang.Object
com.djrapitops.plan.delivery.domain.mutators.TPSMutator
Mutator for a list of TPS data.
Can be used to get properties of a large number of TPS entries easily.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionall()
double
double
double
double
int
double
double
double
static TPSMutator
copyOf
(TPSMutator mutator) filterDataBetween
(long after, long before) filterTPSBetween
(double above, double below) getLast()
int
lowTpsSpikeCount
(double threshold) long
long
double
percentageTPSAboveThreshold
(int threshold) long
long
toArrays
(LineGraph.GapStrategy gapStrategy)
-
Constructor Details
-
TPSMutator
-
-
Method Details
-
copyOf
-
filterBy
-
filterDataBetween
-
filterTPSBetween
-
all
-
playersOnlinePoints
-
tpsPoints
-
cpuPoints
-
ramUsagePoints
-
entityPoints
-
chunkPoints
-
freeDiskPoints
-
serverDownTime
public long serverDownTime() -
serverOccupiedTime
public long serverOccupiedTime() -
percentageTPSAboveThreshold
public double percentageTPSAboveThreshold(int threshold) -
lowTpsSpikeCount
public int lowTpsSpikeCount(double threshold) -
averagePlayers
public int averagePlayers() -
averageTPS
public double averageTPS() -
averageCPU
public double averageCPU() -
averageRAM
public double averageRAM() -
averageEntities
public double averageEntities() -
averageChunks
public double averageChunks() -
averageFreeDisk
public double averageFreeDisk() -
maxFreeDisk
public long maxFreeDisk() -
minFreeDisk
public long minFreeDisk() -
averagePlayersOnline
public double averagePlayersOnline() -
getLast
-
toArrays
-