Class SystemUsageBuffer.RamAndCpuTask

  • All Implemented Interfaces:
    java.lang.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

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • RamAndCpuTask

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

      • run

        public void run()
      • register

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