HBASE-14715 Add javadocs to DelegatingRetryingCallable
This commit is contained in:
parent
f0176d942a
commit
1b8b612b8b
|
@ -21,6 +21,13 @@ import java.io.IOException;
|
|||
|
||||
import org.apache.hadoop.hbase.classification.InterfaceAudience;
|
||||
|
||||
/**
|
||||
* Helper callable for internal use when you just want to override a single method of a {@link
|
||||
* RetryingCallable}. By default, this just delegates all {@link RetryingCallable} methods to the
|
||||
* specified delegate.
|
||||
* @param <T> Result class from calls to the delegate {@link RetryingCallable}
|
||||
* @param <D> Type of the delegate class
|
||||
*/
|
||||
@InterfaceAudience.Private
|
||||
public class DelegatingRetryingCallable<T, D extends RetryingCallable<T>> implements
|
||||
RetryingCallable<T> {
|
||||
|
|
|
@ -26,7 +26,7 @@ import org.apache.hadoop.hbase.classification.InterfaceAudience;
|
|||
/**
|
||||
* A Callable<T> that will be retried. If {@link #call(int)} invocation throws exceptions,
|
||||
* we will call {@link #throwable(Throwable, boolean)} with whatever the exception was.
|
||||
* @param <T>
|
||||
* @param <T> result class from executing <tt>this</tt>
|
||||
*/
|
||||
@InterfaceAudience.Private
|
||||
public interface RetryingCallable<T> {
|
||||
|
|
Loading…
Reference in New Issue