Class Processing

  • All Implemented Interfaces:
    SubSystem

    @Singleton
    public class Processing
    extends java.lang.Object
    implements SubSystem
    • Constructor Summary

      Constructors 
      Constructor Description
      Processing​(dagger.Lazy<Locale> locale, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.concurrent.ExecutorService createExecutor​(int i, java.lang.String s)  
      void disable()
      Performs disable actions for the subsystem
      void enable()
      Performs enable actions for the subsystem.
      void submit​(java.lang.Runnable runnable)  
      <T> java.util.concurrent.Future<T> submit​(java.util.concurrent.Callable<T> task)  
      void submitCritical​(java.lang.Runnable runnable)  
      <T> java.util.concurrent.Future<T> submitCritical​(java.util.concurrent.Callable<T> task)  
      void submitNonCritical​(java.lang.Runnable runnable)  
      <T> java.util.concurrent.Future<T> submitNonCritical​(java.util.concurrent.Callable<T> task)  
      • Methods inherited from class java.lang.Object

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

      • Processing

        @Inject
        public Processing​(dagger.Lazy<Locale> locale,
                          net.playeranalytics.plugin.server.PluginLogger logger,
                          ErrorLogger errorLogger)
    • Method Detail

      • createExecutor

        protected java.util.concurrent.ExecutorService createExecutor​(int i,
                                                                      java.lang.String s)
      • submit

        public void submit​(java.lang.Runnable runnable)
      • submitNonCritical

        public void submitNonCritical​(java.lang.Runnable runnable)
      • submitCritical

        public void submitCritical​(java.lang.Runnable runnable)
      • submit

        public <T> java.util.concurrent.Future<T> submit​(java.util.concurrent.Callable<T> task)
      • submitNonCritical

        public <T> java.util.concurrent.Future<T> submitNonCritical​(java.util.concurrent.Callable<T> task)
      • submitCritical

        public <T> java.util.concurrent.Future<T> submitCritical​(java.util.concurrent.Callable<T> task)
      • enable

        public void enable()
        Description copied from interface: SubSystem
        Performs enable actions for the subsystem.
        Specified by:
        enable in interface SubSystem
      • disable

        public void disable()
        Description copied from interface: SubSystem
        Performs disable actions for the subsystem
        Specified by:
        disable in interface SubSystem