Interface Cluster.StateInfo.UpdateInfoOrBuilder (0.20.0)

public static interface Cluster.StateInfo.UpdateInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTargetReplicaCount()

public abstract int getTargetReplicaCount()

Target number of replica nodes per shard.

optional int32 target_replica_count = 2;

Returns
Type Description
int

The targetReplicaCount.

getTargetShardCount()

public abstract int getTargetShardCount()

Target number of shards for redis cluster

optional int32 target_shard_count = 1;

Returns
Type Description
int

The targetShardCount.

hasTargetReplicaCount()

public abstract boolean hasTargetReplicaCount()

Target number of replica nodes per shard.

optional int32 target_replica_count = 2;

Returns
Type Description
boolean

Whether the targetReplicaCount field is set.

hasTargetShardCount()

public abstract boolean hasTargetShardCount()

Target number of shards for redis cluster

optional int32 target_shard_count = 1;

Returns
Type Description
boolean

Whether the targetShardCount field is set.