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 |
---|---|
<R> Map<Node,CommandResponse<R>> |
CommandDispatcher.executeOnCluster(Command<R,? super C> command,
Node... excludedNodes)
Execute the specified command on all nodes in the group, excluding the specified nodes
|
<R> Map<Node,Future<R>> |
CommandDispatcher.submitOnCluster(Command<R,? super C> command,
Node... excludedNodes)
Submits the specified command on all nodes in the group, excluding the specified nodes.
|
Modifier and Type | Method and Description |
---|---|
<R> Map<Node,CommandResponse<R>> |
CommandDispatcher.executeOnCluster(Command<R,? super C> command,
Node... excludedNodes)
Execute the specified command on all nodes in the group, excluding the specified nodes
|
<R> CommandResponse<R> |
CommandDispatcher.executeOnNode(Command<R,? super C> command,
Node node)
Execute the specified command on the specified node.
|
<R> Map<Node,Future<R>> |
CommandDispatcher.submitOnCluster(Command<R,? super C> command,
Node... excludedNodes)
Submits the specified command on all nodes in the group, excluding the specified nodes.
|
<R> Future<R> |
CommandDispatcher.submitOnNode(Command<R,? super C> command,
Node node)
Submits the specified command on the specified node for execution.
|
Modifier and Type | Method and Description |
---|---|
Node |
NodeFactory.createNode(A address)
Creates a node instance from the address.
|
Node |
Group.getCoordinatorNode()
Returns the group coordinator node.
|
Node |
Group.getLocalNode()
Returns the local node.
|
Modifier and Type | Method and Description |
---|---|
List<Node> |
Group.getNodes()
Returns the list of nodes that are members of this group.
|
Modifier and Type | Method and Description |
---|---|
void |
Group.Listener.membershipChanged(List<Node> previousMembers,
List<Node> members,
boolean merged)
Indicates that the membership of the group has changed.
|
void |
Group.Listener.membershipChanged(List<Node> previousMembers,
List<Node> members,
boolean merged)
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 © 2017 JBoss by Red Hat. All rights reserved.