public class ChainedRetryPolicyDecider<FC extends FailureContext> extends Object implements RetryPolicyDecider<FC>
Constructor and Description |
---|
ChainedRetryPolicyDecider(Iterable<RetryPolicyDecider<FC>> policyDeciders) |
Modifier and Type | Method and Description |
---|---|
BackOffRetryHandler<FC> |
decidePolicy(String errorMessage) |
boolean |
equals(Object o) |
static <FC extends FailureContext> |
from(org.apache.hadoop.conf.Configuration conf,
String key) |
Iterable<RetryPolicyDecider<FC>> |
getPolicyDeciders() |
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value="policyDeciders") @Generated(value="lombok") public ChainedRetryPolicyDecider(Iterable<RetryPolicyDecider<FC>> policyDeciders)
public BackOffRetryHandler<FC> decidePolicy(String errorMessage)
decidePolicy
in interface RetryPolicyDecider<FC extends FailureContext>
public static <FC extends FailureContext> ChainedRetryPolicyDecider<FC> from(org.apache.hadoop.conf.Configuration conf, String key) throws LensException
LensException
@Generated(value="lombok") public Iterable<RetryPolicyDecider<FC>> getPolicyDeciders()
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String toString()
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.