C
- the command context typepublic interface CommandDispatcher<C> extends Lifecycle
Modifier and Type | Method and Description |
---|---|
<R> R |
execute(Command<R,C> command,
Member member)
Execute the specified command on the specified member.
|
<R> Map<Member,R> |
executeAll(Command<R,C> command,
Member... excludedMembers)
Execute the specified command on all members, potentially excluding some.
|
Member |
getCoordinator()
Returns the group coordinator.
|
Member |
getLocal()
Returns the local member.
|
<R> Map<Member,R> executeAll(Command<R,C> command, Member... excludedMembers)
R
- the return value typecommand
- the command to executeexcludedMembers
- list of members to optionally exclude<R> R execute(Command<R,C> command, Member member)
R
- the return value typecommand
- the command to executemember
- the member on which to execute the commandMember getCoordinator()
Copyright © 2004–2014 Paul Ferraro. All rights reserved.