public class Agent extends ARef
Modifier and Type | Field and Description |
---|---|
static java.util.concurrent.ExecutorService |
pooledExecutor |
static java.util.concurrent.ExecutorService |
soloExecutor |
Constructor and Description |
---|
Agent(java.lang.Object state) |
Agent(java.lang.Object state,
IPersistentMap meta) |
Modifier and Type | Method and Description |
---|---|
void |
clearErrors() |
java.lang.Object |
deref() |
java.lang.Object |
dispatch(IFn fn,
ISeq args,
boolean solo) |
ISeq |
getErrors() |
int |
getQueueCount() |
static int |
releasePendingSends() |
static void |
shutdown() |
addWatch, getValidator, getWatches, notifyWatches, removeWatch, setValidator
alterMeta, meta, resetMeta
public static final java.util.concurrent.ExecutorService pooledExecutor
public static final java.util.concurrent.ExecutorService soloExecutor
public Agent(java.lang.Object state) throws java.lang.Exception
java.lang.Exception
public Agent(java.lang.Object state, IPersistentMap meta) throws java.lang.Exception
java.lang.Exception
public static void shutdown()
public java.lang.Object deref() throws java.lang.Exception
java.lang.Exception
public ISeq getErrors()
public void clearErrors()
public int getQueueCount()
public static int releasePendingSends()