com.hazelcast.client.spi.impl
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) |
void |
executeInternal(Runnable runnable) |
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(Runnable runnable) |
public ClientExecutionServiceImpl(String name, ThreadGroup threadGroup, ClassLoader classLoader, int poolSize)
public <T> ICompletableFuture<T> submitInternal(Runnable runnable)
public void executeInternal(Runnable runnable)
public void execute(Runnable command)
execute
in interface ClientExecutionService
public ICompletableFuture<?> submit(Runnable task)
submit
in interface ClientExecutionService
public <T> ICompletableFuture<T> submit(Callable<T> task)
submit
in interface ClientExecutionService
public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit)
schedule
in interface ClientExecutionService
public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)
scheduleAtFixedRate
in interface ClientExecutionService
public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long period, TimeUnit unit)
scheduleWithFixedDelay
in interface ClientExecutionService
public ExecutorService getAsyncExecutor()
getAsyncExecutor
in interface ClientExecutionService
public void shutdown()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.