Class RetryHandler
- java.lang.Object
-
- org.apache.beam.sdk.ml.inference.remote.RetryHandler
-
- All Implemented Interfaces:
java.io.Serializable
public class RetryHandler extends java.lang.Object implements java.io.SerializableA utility for running request and handle failures and retries.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRetryHandler.RetryableRequest<T>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Texecute(RetryHandler.RetryableRequest<T> request)static RetryHandlerwithDefaults()
-
-
-
Method Detail
-
withDefaults
public static RetryHandler withDefaults()
-
execute
public <T> T execute(RetryHandler.RetryableRequest<T> request) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-