Sent to a fast failover routee to ask it to attempt the operation for the given message.
The entity id.
Interface of the partial function used by FastFailoverActor
to
extract an entity id and the message to send to the entity from an
incoming message.
Interface of the partial function used by FastFailoverActor
to
extract an entity id and the message to send to the entity from an
incoming message. The implementation is application specific.
If the partial function does not match the message will be
unhandled
, i.e. posted as Unhandled
messages on the event stream.
Note that the extracted message does not have to be the same as the incoming
message to support wrapping in message envelope that is unwrapped before
sending to the entity actor.
A failure directive.
A strategy for deciding whether an error should cause the operation to fail or failover.
A strategy for deciding whether an error should cause the operation to fail or failover.
The default, for any errors that this function isn't defined for, is to failover.
A heartbeat.
A heartbeat. These should be sent at the configured heartbeat interval back to the requester.
The attempt number that came in the first Attempt message.
Java API: Interface of functions to extract entity id and the message to send to the entity from an incoming message.
The messages that a fast failover actor handles.
The result of an attempt.
The result of an attempt.
The attempt number that came in the Attempt message.
The result.
An error should cause the operation to fail.
An error should cause the operation to failover.
Extract entity id function to use with cluster sharding.
Extract entity id function to use with cluster sharding.
Provided for convenience
Extract shard id function to use with cluster sharding.
Extract shard id function to use with cluster sharding.
Provided for convenience.
Java API: An error should cause the operation to fail.
Java API: An error should cause the operation to failover.