Class StandardRetryPolicy

java.lang.Object
org.apache.druid.rpc.StandardRetryPolicy
All Implemented Interfaces:
ServiceRetryPolicy

public class StandardRetryPolicy extends Object implements ServiceRetryPolicy
Retry policy configurable with a maximum number of attempts and min/max wait time. The policy retries on IOExceptions and ChannelExceptions, and on HTTP 500, 502, 503, and 504. Other exceptions and other HTTP status codes are considered nonretryable errors.