public class ManagedCommandDispatcher<C> extends Object implements CommandDispatcher<C>
close() logic.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<R> Map<Node,CompletionStage<R>> |
executeOnGroup(Command<R,? super C> command,
Node... excludedMembers) |
<R> CompletionStage<R> |
executeOnMember(Command<R,? super C> command,
Node member) |
C |
getContext() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteOnCluster, executeOnNode, submitOnCluster, submitOnNodepublic C getContext()
getContext in interface CommandDispatcher<C>public <R> CompletionStage<R> executeOnMember(Command<R,? super C> command, Node member) throws CommandDispatcherException
executeOnMember in interface CommandDispatcher<C>CommandDispatcherExceptionpublic <R> Map<Node,CompletionStage<R>> executeOnGroup(Command<R,? super C> command, Node... excludedMembers) throws CommandDispatcherException
executeOnGroup in interface CommandDispatcher<C>CommandDispatcherExceptionpublic void close()
close in interface AutoCloseableclose in interface CommandDispatcher<C>Copyright © 2020 JBoss by Red Hat. All rights reserved.