Package | Description |
---|---|
org.axonframework.commandhandling.distributed | |
org.axonframework.commandhandling.distributed.jgroups |
Modifier and Type | Method and Description |
---|---|
static ConsistentHash |
ConsistentHash.emptyRing()
Returns an instance of an empty Ring, which can be used to add members.
|
ConsistentHash |
ConsistentHash.withAdditionalNode(String nodeName,
int segmentCount,
Set<String> supportedCommandTypes)
Returns a ConsistentHash with the given additional
nodeName , which is given
segmentCount segments on the ring. |
ConsistentHash |
ConsistentHash.withExclusively(Collection<String> nodes)
Returns a ConsistentHash instance where only segments leading to the given
nodes are available. |
Modifier and Type | Method and Description |
---|---|
ConsistentHash |
JGroupsConnector.getConsistentHash()
Returns the consistent hash on which current assignment of commands to nodes is being executed.
|
Copyright © 2010-2014. All Rights Reserved.