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,
int threadCount,
int maximumQueueCapacity) |
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).
|
long |
processedCount()
Returns the total number of processed events.
|
void |
shutdown()
Shuts down this StripedExecutor.
|
public static final AtomicLong THREAD_ID_GENERATOR
public int getWorkQueueSize()
public long processedCount()
public void shutdown()
public boolean isLive()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.