Modifier and type | Property and description |
---|---|
ExecutorsConfig | configuration Replies the configuration. |
java.util.concurrent.ExecutorService | executorService Replies the JRE service for scheduled tasks. |
java.lang.Class<T> | referenceType |
java.util.concurrent.ScheduledExecutorService | scheduledExecutorService Replies the JRE service for scheduled tasks. |
long | taskCount |
java.lang.Thread.UncaughtExceptionHandler | uncaughtExceptionHandler Replies the default exception handler. |
Constructor and description |
---|
new(ExecutorService,ScheduledExecutorService,UncaughtExceptionHandler,SreConfig) Constructor. |
Modifier and type | Action and description |
---|---|
void | applyBlockingConsumer([Logger],Iterable<T>,Consumer<T>) |
java.util.concurrent.Future<V> | executeAsap([Logger],Runnable) |
java.util.concurrent.Future<V> | executeAsap([Logger],Callable<V>) |
java.util.concurrent.Future<V> | executeAsap([Logger],T,Runnable) |
int | executeBlockingTask([Logger],int,int,Runnable) |
void | executeBlockingTasks([Logger],[boolean],Collection<E>) |
void | executeNotBlockingTask([Logger],int,int,Runnable) |
ExecutorsConfig | getConfiguration Replies the configuration. |
java.util.concurrent.ExecutorService | getExecutorService Replies the JRE service for scheduled tasks. |
java.lang.Class<T> | getReferenceType |
java.util.concurrent.ScheduledExecutorService | getScheduledExecutorService Replies the JRE service for scheduled tasks. |
long | getTaskCount |
java.lang.Thread.UncaughtExceptionHandler | getUncaughtExceptionHandler Replies the default exception handler. |
void | onPreStop |
void | onStart |
void | onStop |
void | purge |
boolean | remove(Runnable) |
java.util.concurrent.ScheduledFuture<V> | schedule([Logger],[long],[TimeUnit],Runnable) |
java.util.concurrent.ScheduledFuture<V> | schedule([Logger],[long],[TimeUnit],Callable<V>) |
java.util.concurrent.ScheduledFuture<V> | scheduleAtFixedRate([Logger],[long],[long],[TimeUnit],Runnable) |
java.util.concurrent.ScheduledFuture<V> | scheduleWithFixedDelay([Logger],[long],[long],[TimeUnit],Runnable) |
final void | setConfiguration(SreConfig) Change the configuration from the general configuration. |
void | setConfiguration(ExecutorsConfig) Change the configuration from the general configuration. |
void | setUncaughtExceptionHandler(UncaughtExceptionHandler) Change the default exception handler. |
void | toJson(JsonBuffer) |
java.lang.String | toString Replies the state of this service as a string. |
var configuration : ExecutorsConfig
This property is an alias for the action: getConfiguration
val executorService : java.util.concurrent.ExecutorService
This property is an alias for the action: getExecutorService
val referenceType : java.lang.Class<T>
This property is an alias for the action: getReferenceType
val scheduledExecutorService : java.util.concurrent.ScheduledExecutorService
This property is an alias for the action: getScheduledExecutorService
val taskCount : long
This property is an alias for the action: getTaskCount
var uncaughtExceptionHandler : java.lang.Thread.UncaughtExceptionHandler
This property is an alias for the action: getUncaughtExceptionHandler
new(ExecutorService,ScheduledExecutorService,UncaughtExceptionHandler,SreConfig)
def applyBlockingConsumer([Logger],Iterable<T>,Consumer<T>)with T
def executeAsap([Logger],Runnable) : java.util.concurrent.Future<V>
def executeAsap([Logger],Callable<V>) : java.util.concurrent.Future<V>with T
def executeAsap([Logger],T,Runnable) : java.util.concurrent.Future<V>with T
def executeBlockingTask([Logger],int,int,Runnable) : int
def executeBlockingTasks([Logger],[boolean],Collection<E>)
def executeNotBlockingTask([Logger],int,int,Runnable)
def getConfiguration : ExecutorsConfig
def getExecutorService : java.util.concurrent.ExecutorService
def getReferenceType : java.lang.Class<T>
def getScheduledExecutorService : java.util.concurrent.ScheduledExecutorService
def getTaskCount : long
def getUncaughtExceptionHandler : java.lang.Thread.UncaughtExceptionHandler
def onPreStop
def onStart
def onStop
def purge
def remove(Runnable) : boolean
def schedule([Logger],[long],[TimeUnit],Runnable) : java.util.concurrent.ScheduledFuture<V>
def schedule([Logger],[long],[TimeUnit],Callable<V>) : java.util.concurrent.ScheduledFuture<V>with T
def scheduleAtFixedRate([Logger],[long],[long],[TimeUnit],Runnable) : java.util.concurrent.ScheduledFuture<V>
def scheduleWithFixedDelay([Logger],[long],[long],[TimeUnit],Runnable) : java.util.concurrent.ScheduledFuture<V>
def setConfiguration(SreConfig)
def setConfiguration(ExecutorsConfig)
def setUncaughtExceptionHandler(UncaughtExceptionHandler)
def toJson(JsonBuffer)
def toString : java.lang.String