Interface Cluster.StateInfo.UpdateInfoOrBuilder (0.13.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
TypeDescription
int

The targetReplicaCount.

getTargetShardCount()

public abstract int getTargetShardCount()

Target number of shards for redis cluster

optional int32 target_shard_count = 1;

Returns
TypeDescription
int

The targetShardCount.

hasTargetReplicaCount()

public abstract boolean hasTargetReplicaCount()

Target number of replica nodes per shard.

optional int32 target_replica_count = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the targetShardCount field is set.