AlreadyPickedUp

public final class AlreadyPickedUp extends FailedPickUp

Represents a scenario when shard could not be picked as it's already picked by another worker.

Functions

Link copied to clipboard
Returns an action that will make the delivery process to finish without any processing done.
Link copied to clipboard
public ShardAlreadyPickedUp outcome()
Returns the ShardAlreadyPickedUp outcome.

Inherited 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.