public class ManagedCommandDispatcher<C> extends Object implements org.wildfly.clustering.dispatcher.CommandDispatcher<C>
close() logic.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<R> Map<org.wildfly.clustering.group.Node,CompletionStage<R>> |
executeOnGroup(org.wildfly.clustering.dispatcher.Command<R,? super C> command,
org.wildfly.clustering.group.Node... excludedMembers) |
<R> CompletionStage<R> |
executeOnMember(org.wildfly.clustering.dispatcher.Command<R,? super C> command,
org.wildfly.clustering.group.Node member) |
C |
getContext() |
public C getContext()
getContext in interface org.wildfly.clustering.dispatcher.CommandDispatcher<C>public <R> CompletionStage<R> executeOnMember(org.wildfly.clustering.dispatcher.Command<R,? super C> command, org.wildfly.clustering.group.Node member) throws org.wildfly.clustering.dispatcher.CommandDispatcherException
executeOnMember in interface org.wildfly.clustering.dispatcher.CommandDispatcher<C>org.wildfly.clustering.dispatcher.CommandDispatcherExceptionpublic <R> Map<org.wildfly.clustering.group.Node,CompletionStage<R>> executeOnGroup(org.wildfly.clustering.dispatcher.Command<R,? super C> command, org.wildfly.clustering.group.Node... excludedMembers) throws org.wildfly.clustering.dispatcher.CommandDispatcherException
executeOnGroup in interface org.wildfly.clustering.dispatcher.CommandDispatcher<C>org.wildfly.clustering.dispatcher.CommandDispatcherExceptionpublic void close()
close in interface AutoCloseableclose in interface org.wildfly.clustering.dispatcher.CommandDispatcher<C>Copyright © 2020 JBoss by Red Hat. All rights reserved.