CC - command execution contextpublic class ChannelCommandDispatcher<CC,MC> extends Object implements CommandDispatcher<CC>
| Constructor and Description |
|---|
ChannelCommandDispatcher(org.jgroups.blocks.MessageDispatcher dispatcher,
CommandMarshaller<CC> marshaller,
MC context,
Group<org.jgroups.Address> group,
Duration timeout,
CommandDispatcher<CC> localDispatcher,
Runnable closeTask) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<R> Map<Node,CompletionStage<R>> |
executeOnGroup(Command<R,? super CC> command,
Node... excludedMembers) |
<R> CompletionStage<R> |
executeOnMember(Command<R,? super CC> command,
Node member) |
CC |
getContext() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteOnCluster, executeOnNode, submitOnCluster, submitOnNodepublic ChannelCommandDispatcher(org.jgroups.blocks.MessageDispatcher dispatcher,
CommandMarshaller<CC> marshaller,
MC context,
Group<org.jgroups.Address> group,
Duration timeout,
CommandDispatcher<CC> localDispatcher,
Runnable closeTask)
public CC getContext()
getContext in interface CommandDispatcher<CC>public void close()
close in interface AutoCloseableclose in interface CommandDispatcher<CC>public <R> CompletionStage<R> executeOnMember(Command<R,? super CC> command, Node member) throws CommandDispatcherException
executeOnMember in interface CommandDispatcher<CC>CommandDispatcherExceptionpublic <R> Map<Node,CompletionStage<R>> executeOnGroup(Command<R,? super CC> command, Node... excludedMembers) throws CommandDispatcherException
executeOnGroup in interface CommandDispatcher<CC>CommandDispatcherExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.