Classes
CloudRedisClient
Configures and manages Cloud Memorystore for Redis instances.
CloudRedisConnection
The CloudRedisConnection
object for CloudRedisClient
.
CloudRedisConnectionIdempotencyPolicy
CloudRedisLimitedErrorCountRetryPolicy
A retry policy for CloudRedisConnection
based on counting errors.
CloudRedisLimitedTimeRetryPolicy
A retry policy for CloudRedisConnection
based on elapsed time.
CloudRedisRetryPolicy
The retry policy for CloudRedisConnection
.
Structs
CloudRedisBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
CloudRedisConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
CloudRedisPollingPolicyOption
Use with google::cloud::Options
to configure the long-running operations polling policy.
CloudRedisRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeCloudRedisConnection(Options)
A factory function to construct an object of type CloudRedisConnection
.
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of CloudRedisClient.
The optional options
argument may be used to configure aspects of the returned CloudRedisConnection
. Expected options are any of the types in the following option lists:
Parameter | |
---|---|
Name | Description |
options |
(optional) Configure the |
Returns | |
---|---|
Type | Description |
std::shared_ptr< CloudRedisConnection > |
MakeDefaultCloudRedisConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< CloudRedisConnectionIdempotencyPolicy > |