(IFn fn, ISeq args, Executor exec)
| 232 | } |
| 233 | |
| 234 | public Object dispatch(IFn fn, ISeq args, Executor exec) { |
| 235 | Throwable error = getError(); |
| 236 | if(error != null) |
| 237 | { |
| 238 | throw Util.runtimeException("Agent is failed, needs restart", error); |
| 239 | } |
| 240 | Action action = new Action(this, fn, args, exec); |
| 241 | dispatchAction(action); |
| 242 | |
| 243 | return this; |
| 244 | } |
| 245 | |
| 246 | static void dispatchAction(Action action){ |
| 247 | LockingTransaction trans = LockingTransaction.getRunning(); |
nothing calls this directly
no test coverage detected