Class SystemUsageBuffer.RamAndCpuTask

java.lang.Object
net.playeranalytics.plugin.scheduling.PluginRunnable
com.djrapitops.plan.TaskSystem.Task
com.djrapitops.plan.gathering.timed.SystemUsageBuffer.RamAndCpuTask
All Implemented Interfaces:
Runnable
Enclosing class:
SystemUsageBuffer

@Singleton public static class SystemUsageBuffer.RamAndCpuTask extends TaskSystem.Task
  • Constructor Summary

    Constructors
    Constructor
    Description
    RamAndCpuTask​(SystemUsageBuffer buffer, net.playeranalytics.plugin.server.PluginLogger logger)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    register​(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory)
     
    void
    run()
     

    Methods inherited from class net.playeranalytics.plugin.scheduling.PluginRunnable

    cancel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RamAndCpuTask

      @Inject public RamAndCpuTask(SystemUsageBuffer buffer, net.playeranalytics.plugin.server.PluginLogger logger)
  • Method Details

    • run

      public void run()
    • register

      public void register(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory)
      Specified by:
      register in class TaskSystem.Task