public final class ClientExecutionServiceImpl extends Object implements ClientExecutionService, MetricsProvider
| Modifier and Type | Field and Description |
|---|---|
static HazelcastProperty |
INTERNAL_EXECUTOR_POOL_SIZE |
static long |
TERMINATE_TIMEOUT_SECONDS |
| Constructor and Description |
|---|
ClientExecutionServiceImpl(String name,
ClassLoader classLoader,
HazelcastProperties properties,
int poolSize,
LoggingService loggingService) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Runnable command) |
ExecutorService |
getUserExecutor() |
int |
getUserExecutorQueueSize() |
void |
provideMetrics(MetricsRegistry registry) |
<V> ScheduledFuture<Future<V>> |
schedule(Callable<V> command,
long delay,
TimeUnit unit) |
ScheduledFuture<?> |
schedule(Runnable command,
long delay,
TimeUnit unit) |
ScheduledFuture<?> |
scheduleWithRepetition(Runnable command,
long initialDelay,
long period,
TimeUnit unit) |
void |
shutdown() |
static void |
shutdownExecutor(String name,
ExecutorService executor,
ILogger logger) |
public static final HazelcastProperty INTERNAL_EXECUTOR_POOL_SIZE
public static final long TERMINATE_TIMEOUT_SECONDS
public ClientExecutionServiceImpl(String name, ClassLoader classLoader, HazelcastProperties properties, int poolSize, LoggingService loggingService)
public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit)
schedule in interface TaskSchedulerpublic <V> ScheduledFuture<Future<V>> schedule(Callable<V> command, long delay, TimeUnit unit)
schedule in interface TaskSchedulerpublic ScheduledFuture<?> scheduleWithRepetition(Runnable command, long initialDelay, long period, TimeUnit unit)
scheduleWithRepetition in interface TaskSchedulerpublic ExecutorService getUserExecutor()
getUserExecutor in interface ClientExecutionServicepublic int getUserExecutorQueueSize()
public void shutdown()
public static void shutdownExecutor(String name, ExecutorService executor, ILogger logger)
public void provideMetrics(MetricsRegistry registry)
provideMetrics in interface MetricsProviderCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.