Table of Contents

Class RetryReadPolicy

Namespace
Apache.Ignite
Assembly
Apache.Ignite.dll

Retry policy that returns true for all read-only operations that do not modify data.

public sealed class RetryReadPolicy : RetryLimitPolicy, IRetryPolicy
Inheritance
RetryReadPolicy
Implements
Inherited Members

Methods

ShouldRetry(IRetryPolicyContext)

Gets a value indicating whether a client operation that has failed due to a connection issue should be retried.

public override bool ShouldRetry(IRetryPolicyContext context)

Parameters

context IRetryPolicyContext

Operation context.

Returns

bool

true if the operation should be retried on another connection, false otherwise.