RetryContext Interface

public interface RetryContext

The Retry context that is obtained from the host.

Method Summary

Modifier and Type Method and Description
RpcException getException()

Returns the exception that caused the retry

int getMaxretrycount()

Returns the max retry count

int getRetrycount()

Returns the current retry count

Method Details

getException

public RpcException getException()

Returns the exception that caused the retry

Returns:

the exception that caused the retry.

getMaxretrycount

public int getMaxretrycount()

Returns the max retry count

Returns:

the max retry count.

getRetrycount

public int getRetrycount()

Returns the current retry count

Returns:

the current retry count.

Applies to