java.lang.Object
com.djrapitops.plan.gathering.domain.builders.TPSBuilder

public class TPSBuilder extends Object
Builder for TPS to make it easier to manage.
  • 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

      public static TPSBuilder get()
    • toTPS

      public TPS toTPS()
    • date

      public TPSBuilder date(long date)
    • tps

      public TPSBuilder tps(double tps)
    • playersOnline

      public TPSBuilder playersOnline(int online)
    • usedCPU

      public TPSBuilder usedCPU(double cpu)
    • usedMemory

      public TPSBuilder usedMemory(long ram)
    • entities

      public TPSBuilder entities(int count)
    • chunksLoaded

      public TPSBuilder chunksLoaded(int chunksLoaded)
    • freeDiskSpace

      public TPSBuilder freeDiskSpace(long freeDiskSpace)