Package com.djrapitops.plan.processing
Class Processing
- java.lang.Object
-
- com.djrapitops.plan.processing.Processing
-
-
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 subsystemvoid
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)
-
-
-
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.
-
-