Class ExponentialErrorBackoffStrategy

java.lang.Object
org.camunda.bpm.client.backoff.ExponentialErrorBackoffStrategy
All Implemented Interfaces:
BackoffStrategy, ErrorAwareBackoffStrategy

public class ExponentialErrorBackoffStrategy extends Object implements ErrorAwareBackoffStrategy

Provides an exponential backoff strategy when an error occurs fetching external tasks.

Note this strategy does not provide any backoff when no external tasks are received. It should therefore only be used with long polling (asyncResponseTimeout) to ensure appropriate throttling of requests.