public static class DroolsExecutor.Leader extends DroolsExecutor
DroolsExecutor.EmptyResult, DroolsExecutor.Leader, DroolsExecutor.SlaveexecutionResults| Constructor and Description |
|---|
Leader() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Runnable f) |
<R> R |
execute(Supplier<R> f) |
Queue<Serializable> |
getAndReset() |
boolean |
isLeader() |
appendSideEffects, getInstance, setAsLeader, setAsReplicapublic boolean isLeader()
isLeader in class DroolsExecutorpublic void execute(Runnable f)
execute in class DroolsExecutorpublic <R> R execute(Supplier<R> f)
execute in class DroolsExecutorpublic Queue<Serializable> getAndReset()
getAndReset in class DroolsExecutorCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.