Package | Description |
---|---|
org.wildfly.clustering.dispatcher |
Public clustering API which facilitates remote command execution
on the cluster.
|
org.wildfly.clustering.group |
Public clustering API which represent cluster group and its members.
|
org.wildfly.clustering.provider |
Public clustering API for registering services on a group of nodes.
|
org.wildfly.clustering.registry |
Public clustering API for clustered registry that stores a unique key/value pair per node.
|
org.wildfly.clustering.singleton | |
org.wildfly.clustering.singleton.election |
Modifier and Type | Method and Description |
---|---|
default <R> Map<Node,CommandResponse<R>> |
CommandDispatcher.executeOnCluster(Command<R,? super C> command,
Node... excludedNodes)
Deprecated.
Replaced by
CommandDispatcher.executeOnGroup(Command, Node...) . |
<R> Map<Node,CompletionStage<R>> |
CommandDispatcher.executeOnGroup(Command<R,? super C> command,
Node... excludedMembers)
Executes the specified command on all members of the group, optionally excluding some members.
|
default <R> Map<Node,Future<R>> |
CommandDispatcher.submitOnCluster(Command<R,? super C> command,
Node... excludedNodes)
Deprecated.
Replaced by
CommandDispatcher.executeOnGroup(Command, Node...) . |
Modifier and Type | Method and Description |
---|---|
default <R> Map<Node,CommandResponse<R>> |
CommandDispatcher.executeOnCluster(Command<R,? super C> command,
Node... excludedNodes)
Deprecated.
Replaced by
CommandDispatcher.executeOnGroup(Command, Node...) . |
<R> Map<Node,CompletionStage<R>> |
CommandDispatcher.executeOnGroup(Command<R,? super C> command,
Node... excludedMembers)
Executes the specified command on all members of the group, optionally excluding some members.
|
<R> CompletionStage<R> |
CommandDispatcher.executeOnMember(Command<R,? super C> command,
Node member)
Executes the specified command on the specified group member.
|
default <R> CommandResponse<R> |
CommandDispatcher.executeOnNode(Command<R,? super C> command,
Node node)
Deprecated.
Replaced by
CommandDispatcher.executeOnMember(Command, Node) . |
default <R> Map<Node,Future<R>> |
CommandDispatcher.submitOnCluster(Command<R,? super C> command,
Node... excludedNodes)
Deprecated.
Replaced by
CommandDispatcher.executeOnGroup(Command, Node...) . |
default <R> Future<R> |
CommandDispatcher.submitOnNode(Command<R,? super C> command,
Node node)
Deprecated.
Replaced by
CommandDispatcher.executeOnMember(Command, Node) . |
Modifier and Type | Method and Description |
---|---|
Node |
NodeFactory.createNode(A address)
Deprecated.
Creates a node instance from the address.
|
Node |
Membership.getCoordinator()
Returns the coordinator node of this group membership.
|
default Node |
Group.getCoordinatorNode()
Deprecated.
Replaced by
Membership.getCoordinator() . |
Node |
Group.getLocalMember()
Returns the local member.
|
default Node |
Group.getLocalNode()
Deprecated.
Replaced by
Group.getLocalMember() . |
Modifier and Type | Method and Description |
---|---|
List<Node> |
Membership.getMembers()
Returns the nodes that comprise this group membership.
|
default List<Node> |
Group.getNodes()
Deprecated.
Replaced by
Membership#getNodes() . |
Modifier and Type | Method and Description |
---|---|
void |
Group.Listener.membershipChanged(List<Node> previousMembers,
List<Node> members,
boolean merged)
Deprecated.
Indicates that the membership of the group has changed.
|
void |
Group.Listener.membershipChanged(List<Node> previousMembers,
List<Node> members,
boolean merged)
Deprecated.
Indicates that the membership of the group has changed.
|
Modifier and Type | Method and Description |
---|---|
Set<Node> |
ServiceProviderRegistration.getProviders()
Returns the set of nodes that can provide this service.
|
Set<Node> |
ServiceProviderRegistry.getProviders(T service)
Returns the set of nodes that can provide the specified service.
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceProviderRegistration.Listener.providersChanged(Set<Node> nodes)
Indicates that the set of nodes providing a given service has changed.
|
Modifier and Type | Method and Description |
---|---|
Map.Entry<K,V> |
Registry.getEntry(Node node)
Returns the registry entry for the specified node.
|
Modifier and Type | Method and Description |
---|---|
Node |
SingletonElectionPolicy.elect(List<Node> nodes)
Elect a single node from the specified list of candidate nodes.
|
Modifier and Type | Method and Description |
---|---|
Node |
SingletonElectionPolicy.elect(List<Node> nodes)
Elect a single node from the specified list of candidate nodes.
|
Modifier and Type | Method and Description |
---|---|
Node |
SimpleSingletonElectionPolicy.elect(List<Node> candidates) |
Node |
RandomSingletonElectionPolicy.elect(List<Node> nodes)
Elect a single node from the specified list of candidate nodes.
|
Node |
PreferredSingletonElectionPolicy.elect(List<Node> candidates) |
Modifier and Type | Method and Description |
---|---|
boolean |
SocketAddressPreference.preferred(Node node) |
boolean |
Preference.preferred(Node node) |
boolean |
NamePreference.preferred(Node node) |
Modifier and Type | Method and Description |
---|---|
Node |
SimpleSingletonElectionPolicy.elect(List<Node> candidates) |
Node |
RandomSingletonElectionPolicy.elect(List<Node> nodes)
Elect a single node from the specified list of candidate nodes.
|
Node |
PreferredSingletonElectionPolicy.elect(List<Node> candidates) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.