public final class ClientExecutionServiceImpl extends Object implements ClientExecutionService
| Constructor and Description |
|---|
ClientExecutionServiceImpl(String name,
ThreadGroup threadGroup,
ClassLoader classLoader,
int poolSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Runnable command) |
ExecutorService |
getAsyncExecutor() |
ScheduledFuture<?> |
schedule(Runnable command,
long delay,
TimeUnit unit) |
ScheduledFuture<?> |
scheduleAtFixedRate(Runnable command,
long initialDelay,
long period,
TimeUnit unit) |
ScheduledFuture<?> |
scheduleWithFixedDelay(Runnable command,
long initialDelay,
long period,
TimeUnit unit) |
void |
shutdown() |
<T> ICompletableFuture<T> |
submit(Callable<T> task) |
ICompletableFuture<?> |
submit(Runnable task) |
<T> ICompletableFuture<T> |
submitInternal(Callable<T> command) |
public ClientExecutionServiceImpl(String name, ThreadGroup threadGroup, ClassLoader classLoader, int poolSize)
public <T> ICompletableFuture<T> submitInternal(Callable<T> command)
public void execute(Runnable command)
execute in interface ClientExecutionServicepublic ICompletableFuture<?> submit(Runnable task)
submit in interface ClientExecutionServicepublic <T> ICompletableFuture<T> submit(Callable<T> task)
submit in interface ClientExecutionServicepublic ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit)
schedule in interface ClientExecutionServicepublic ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)
scheduleAtFixedRate in interface ClientExecutionServicepublic ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long period, TimeUnit unit)
scheduleWithFixedDelay in interface ClientExecutionServicepublic ExecutorService getAsyncExecutor()
getAsyncExecutor in interface ClientExecutionServicepublic void shutdown()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.