clojure.lang
Class Agent
java.lang.Object
clojure.lang.AReference
clojure.lang.ARef
clojure.lang.Agent
- All Implemented Interfaces:
- IDeref, IMeta, IRef, IReference
public class Agent
- extends ARef
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pooledExecutor
public static volatile ExecutorService pooledExecutor
soloExecutor
public static volatile ExecutorService soloExecutor
Agent
public Agent(Object state)
Agent
public Agent(Object state,
IPersistentMap meta)
shutdown
public static void shutdown()
deref
public Object deref()
getError
public Throwable getError()
setErrorMode
public void setErrorMode(Keyword k)
getErrorMode
public Keyword getErrorMode()
setErrorHandler
public void setErrorHandler(IFn f)
getErrorHandler
public IFn getErrorHandler()
restart
public Object restart(Object newState,
boolean clearActions)
dispatch
public Object dispatch(IFn fn,
ISeq args,
Executor exec)
getQueueCount
public int getQueueCount()
releasePendingSends
public static int releasePendingSends()
Copyright © 2015. All Rights Reserved.