public class ClusterThreadManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ClusterThreadManager |
instance
The instance.
|
Constructor and Description |
---|
ClusterThreadManager() |
Modifier and Type | Method and Description |
---|---|
<V> java.util.concurrent.Future<V> |
enqueue(java.util.concurrent.Callable<V> callable)
Enqueue.
|
static ClusterThreadManager |
get()
Gets the.
|
void |
setQueueProcessor(IQueueProcessor proc)
Sets the queue processor.
|
public static ClusterThreadManager instance
public static ClusterThreadManager get()
public <V> java.util.concurrent.Future<V> enqueue(java.util.concurrent.Callable<V> callable)
V
- the value typecallable
- the callablepublic void setQueueProcessor(IQueueProcessor proc)
proc
- the new queue processor