| Package | Description |
|---|---|
| org.elasticsoftware.elasticactors | |
| org.elasticsoftware.elasticactors.cluster | |
| org.elasticsoftware.elasticactors.messaging |
| Modifier and Type | Method and Description |
|---|---|
PhysicalNode |
ActorShard.getOwningNode() |
| Modifier and Type | Method and Description |
|---|---|
PhysicalNode |
NodeSelector.getPrimary(String shardKey) |
| Modifier and Type | Method and Description |
|---|---|
List<PhysicalNode> |
NodeSelector.getAll() |
| Modifier and Type | Method and Description |
|---|---|
default void |
ClusterEventListener.onMasterElected(PhysicalNode masterNode) |
void |
ShardDistributionStrategy.registerWaitForRelease(ActorShard localShard,
PhysicalNode currentOwner)
Wait for signal from the current shard owner, when the signal comes in
ActorContainer.init()
should be called within the implementation |
void |
ShardDistributionStrategy.signalRelease(ActorShard localShard,
PhysicalNode nextOwner)
Signal to the cluster that a Local ActorShard has been given up
|
| Modifier and Type | Method and Description |
|---|---|
NodeSelector |
NodeSelectorFactory.create(Hasher hasher,
List<PhysicalNode> nodes) |
void |
ShardDistributor.distributeShards(List<PhysicalNode> nodes,
ShardDistributionStrategy strategy) |
void |
ClusterEventListener.onTopologyChanged(List<PhysicalNode> topology) |
void |
ShardDistributor.updateNodes(List<PhysicalNode> nodes) |
| Modifier and Type | Method and Description |
|---|---|
PhysicalNode |
MessageHandler.getPhysicalNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
MessagingService.sendWireMessage(String queueName,
byte[] serializedMessage,
PhysicalNode receiver) |
Copyright © 2021. All rights reserved.