Class TPSCounter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected ErrorLogger errorLogger  
      protected net.playeranalytics.plugin.server.PluginLogger logger  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TPSCounter​(net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract void pulse()  
      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
    • Field Detail

      • logger

        protected final net.playeranalytics.plugin.server.PluginLogger logger
    • Constructor Detail

      • TPSCounter

        protected TPSCounter​(net.playeranalytics.plugin.server.PluginLogger logger,
                             ErrorLogger errorLogger)
    • Method Detail

      • run

        public void run()
      • register

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

        public abstract void pulse()