GrpcRetryPolicy

An object that represents a retry policy. Specify at least one value for at least one of the types of RetryEvents, a value for maxRetries, and a value for perRetryTimeout. Both server-error and gateway-error under httpRetryEvents include the Envoy reset policy. For more information on the reset policy, see the Envoy documentation.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specify at least one of the valid values.

Link copied to clipboard

Specify at least one of the following values.

Link copied to clipboard

The maximum number of retry attempts.

Link copied to clipboard

The timeout for each retry attempt.

Link copied to clipboard

Specify a valid value. The event occurs before any processing of a request has started and is encountered when the upstream is temporarily or permanently unavailable.

Functions

Link copied to clipboard
inline fun copy(block: GrpcRetryPolicy.Builder.() -> Unit = {}): GrpcRetryPolicy
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String