public final class StripedExecutor extends Object implements Executor
Modifier and Type | Field and Description |
---|---|
static AtomicLong |
THREAD_ID_GENERATOR |
Constructor and Description |
---|
StripedExecutor(ILogger logger,
String threadNamePrefix,
ThreadGroup threadGroup,
int threadCount,
int maximumQueueSize) |
Modifier and Type | Method and Description |
---|---|
void |
execute(Runnable command) |
int |
getWorkQueueSize()
Returns the total number of tasks pending to be executed.
|
boolean |
isLive()
Checks if this StripedExecutor is alive (so not shut down).
|
void |
shutdown()
Shuts down this StripedExecutor.
|
public static final AtomicLong THREAD_ID_GENERATOR
public StripedExecutor(ILogger logger, String threadNamePrefix, ThreadGroup threadGroup, int threadCount, int maximumQueueSize)
public int getWorkQueueSize()
public void shutdown()
public boolean isLive()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.