Interface RetryingContext (2.47.0)

  public 
  
 interface 
 RetryingContext 
 

Context for a retryable operation.

It provides state to individual RetryingFuture s via the RetryingExecutor .

Methods

getRetrySettings()

  public 
  
 abstract 
  
 RetrySettings 
  
 getRetrySettings 
 () 
 

Returns the RetrySettings to use with this context, or null if the default RetrySettings should be used.

Returns
Type
Description

getRetryableCodes()

  public 
  
 abstract 
  
 Set<StatusCode 
 . 
 Code 
>  
 getRetryableCodes 
 () 
 

Returns the retryable codes to use with this context, or null if the default retryable codes should be used.

Returns
Type
Description
Set < Code >

getTracer()

  public 
  
 abstract 
  
 ApiTracer 
  
 getTracer 
 () 
 

Returns the ApiTracer associated with the current operation.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: