public interface ExecutionService
| Modifier and Type | Field and Description | 
|---|---|
| static String | ASYNC_EXECUTORName of the async executor. | 
| static String | CLIENT_EXECUTORName of the client executor. | 
| static String | IO_EXECUTORName of the io executor. | 
| static String | MAP_LOAD_ALL_KEYS_EXECUTORThe name of the executor that loads the  MapLoader.loadAllKeys() | 
| static String | MAP_LOADER_EXECUTORName of the map-loader executor that loads the  MapLoader.loadAll(java.util.Collection). | 
| static String | QUERY_EXECUTORName of the query executor. | 
| static String | SCHEDULED_EXECUTORName of the scheduled executor. | 
| static String | SYSTEM_EXECUTORName of the system executor. | 
| Modifier and Type | Method and Description | 
|---|---|
| <V> ICompletableFuture<V> | asCompletableFuture(Future<V> future) | 
| void | execute(String name,
       Runnable command) | 
| ManagedExecutorService | getExecutor(String name) | 
| TaskScheduler | getGlobalTaskScheduler() | 
| TaskScheduler | getTaskScheduler(String name) | 
| ManagedExecutorService | register(String name,
        int poolSize,
        int queueCapacity,
        ExecutorType type) | 
| ScheduledFuture<?> | schedule(Runnable command,
        long delay,
        TimeUnit unit) | 
| ScheduledFuture<?> | schedule(String name,
        Runnable command,
        long delay,
        TimeUnit unit) | 
| ScheduledFuture<?> | scheduleWithRepetition(Runnable command,
                      long initialDelay,
                      long period,
                      TimeUnit unit) | 
| ScheduledFuture<?> | scheduleWithRepetition(String name,
                      Runnable command,
                      long initialDelay,
                      long period,
                      TimeUnit unit) | 
| void | shutdownExecutor(String name) | 
| <T> Future<T> | submit(String name,
      Callable<T> task) | 
| Future<?> | submit(String name,
      Runnable task) | 
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()ManagedExecutorService register(String name, int poolSize, int queueCapacity, ExecutorType type)
ManagedExecutorService getExecutor(String name)
void shutdownExecutor(String name)
ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit)
ScheduledFuture<?> schedule(String name, Runnable command, long delay, TimeUnit unit)
ScheduledFuture<?> scheduleWithRepetition(Runnable command, long initialDelay, long period, TimeUnit unit)
ScheduledFuture<?> scheduleWithRepetition(String name, Runnable command, long initialDelay, long period, TimeUnit unit)
TaskScheduler getGlobalTaskScheduler()
TaskScheduler getTaskScheduler(String name)
<V> ICompletableFuture<V> asCompletableFuture(Future<V> future)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.