The message to send to the given actor. This message will be wrapped into an ExpectingResponse message by the expectingResponseMaker
function.
The reference to the MongoConnection the given message will be sent to.
The Failover strategy.
A function that takes a message of type T
and wraps it into an ExpectingResponse message.
A future that is completed with a response, after 1 or more attempts (specified in the given strategy).
A helper that sends the given message to the given actor, following a failover strategy. This helper holds a future reference that is completed with a response, after 1 or more attempts (specified in the given strategy). If the all the tryouts configured by the given strategy were unsuccessful, the future reference is completed with a Throwable.
Should not be used directly for most use cases.
Type of the message to send.