|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutionService
A Service responsible for providing access to 'system' executors and customer executors.
It also has functionality for scheduling tasks.
Field Summary | |
---|---|
static String |
ASYNC_EXECUTOR
Name of the async executor. |
static String |
CLIENT_EXECUTOR
Name of the client executor. |
static String |
IO_EXECUTOR
Name of the io executor. |
static String |
MAP_LOAD_ALL_KEYS_EXECUTOR
The name of the executor that loads the MapLoader.loadAllKeys() |
static String |
MAP_LOADER_EXECUTOR
Name of the map-loader executor that loads the MapLoader.loadAll(java.util.Collection) . |
static String |
QUERY_EXECUTOR
Name of the query executor. |
static String |
SCHEDULED_EXECUTOR
Name of the scheduled executor. |
static String |
SYSTEM_EXECUTOR
Name of the system executor. |
Field Detail |
---|
static final String SYSTEM_EXECUTOR
static final String ASYNC_EXECUTOR
static final String SCHEDULED_EXECUTOR
static final String CLIENT_EXECUTOR
static final String QUERY_EXECUTOR
static final String IO_EXECUTOR
static final String MAP_LOADER_EXECUTOR
MapLoader.loadAll(java.util.Collection)
.
This is the executor you want to configure when you want to load more data from the database in parallel.
static final String MAP_LOAD_ALL_KEYS_EXECUTOR
MapLoader.loadAllKeys()
Method Detail |
---|
ManagedExecutorService register(String name, int poolSize, int queueCapacity, ExecutorType type)
ManagedExecutorService getExecutor(String name)
void shutdownExecutor(String name)
void execute(String name, Runnable command)
Future<?> submit(String name, Runnable task)
<T> Future<T> submit(String name, Callable<T> task)
ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit)
ScheduledFuture<?> schedule(String name, Runnable command, long delay, TimeUnit unit)
ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)
ScheduledFuture<?> scheduleAtFixedRate(String name, Runnable command, long initialDelay, long period, TimeUnit unit)
ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long period, TimeUnit unit)
ScheduledFuture<?> scheduleWithFixedDelay(String name, Runnable command, long initialDelay, long period, TimeUnit unit)
ScheduledExecutorService getDefaultScheduledExecutor()
ScheduledExecutorService getScheduledExecutor(String name)
<V> ICompletableFuture<V> asCompletableFuture(Future<V> future)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |