public final class ExecutionServiceImpl extends Object implements InternalExecutionService
ASYNC_EXECUTOR, CLIENT_EXECUTOR, IO_EXECUTOR, MAP_LOAD_ALL_KEYS_EXECUTOR, MAP_LOADER_EXECUTOR, QUERY_EXECUTOR, SCHEDULED_EXECUTOR, SYSTEM_EXECUTOR| Constructor and Description |
|---|
ExecutionServiceImpl(NodeEngineImpl nodeEngine) |
public ExecutionServiceImpl(NodeEngineImpl nodeEngine)
public ManagedExecutorService register(String name, int defaultPoolSize, int defaultQueueCapacity, ExecutorType type)
register in interface ExecutionServicepublic ManagedExecutorService getExecutor(String name)
getExecutor in interface ExecutionServicepublic <V> ICompletableFuture<V> asCompletableFuture(Future<V> future)
asCompletableFuture in interface ExecutionServicepublic void execute(String name, Runnable command)
execute in interface ExecutionServicepublic Future<?> submit(String name, Runnable task)
submit in interface ExecutionServicepublic <T> Future<T> submit(String name, Callable<T> task)
submit in interface ExecutionServicepublic ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit)
schedule in interface ExecutionServicepublic ScheduledFuture<?> schedule(String name, Runnable command, long delay, TimeUnit unit)
schedule in interface ExecutionServicepublic ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)
scheduleAtFixedRate in interface ExecutionServicepublic ScheduledFuture<?> scheduleAtFixedRate(String name, Runnable command, long initialDelay, long period, TimeUnit unit)
scheduleAtFixedRate in interface ExecutionServicepublic ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long period, TimeUnit unit)
scheduleWithFixedDelay in interface ExecutionServicepublic ScheduledFuture<?> scheduleWithFixedDelay(String name, Runnable command, long initialDelay, long period, TimeUnit unit)
scheduleWithFixedDelay in interface ExecutionServicepublic ScheduledExecutorService getDefaultScheduledExecutor()
getDefaultScheduledExecutor in interface ExecutionServicepublic ScheduledExecutorService getScheduledExecutor(String name)
getScheduledExecutor in interface ExecutionServicepublic void shutdown()
public void shutdownExecutor(String name)
shutdownExecutor in interface ExecutionServiceCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.