FailedPickUp

public abstract class FailedPickUp

An abstract base for shard pick-up-related failures.

Although not marked Internal explicitly, this type is internal to framework in terms of extensibility. End-users should not extend it directly. Its descendants are provided by the framework itself.

On the other hand, nested Action is designed to be implemented by the framework users to provide a custom behaviour for pickup failures in the DeliveryMonitor in addition to predefined behaviours provided by the inheritors of this class.

Inheritors

Types

Link copied to clipboard
public interface Action
Action to take in relation to failed pick-up.

Functions

Link copied to clipboard
public final FailedPickUp.Action retry()
Returns an Action that will retry the delivery from the shard.
Link copied to clipboard
public final ShardIndex shard()
Returns a ShardIndex of the not picked shard.