public interface ExecutionService
Modifier and Type | Field and Description |
---|---|
static String |
ASYNC_EXECUTOR |
static String |
CLIENT_EXECUTOR |
static String |
IO_EXECUTOR |
static String |
OPERATION_EXECUTOR |
static String |
QUERY_EXECUTOR |
static String |
SCHEDULED_EXECUTOR |
static String |
SYSTEM_EXECUTOR |
Modifier and Type | Method and Description |
---|---|
<V> ICompletableFuture<V> |
asCompletableFuture(Future<V> future) |
void |
execute(String name,
Runnable command) |
ScheduledExecutorService |
getDefaultScheduledExecutor() |
com.hazelcast.util.executor.ManagedExecutorService |
getExecutor(String name) |
ScheduledExecutorService |
getScheduledExecutor(String name) |
com.hazelcast.util.executor.ManagedExecutorService |
register(String name,
int poolSize,
int queueCapacity,
com.hazelcast.util.executor.ExecutorType type) |
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) |
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 OPERATION_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
com.hazelcast.util.executor.ManagedExecutorService register(String name, int poolSize, int queueCapacity, com.hazelcast.util.executor.ExecutorType type)
com.hazelcast.util.executor.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<?> 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)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.