public class TiFlashReplicaInfo extends Object implements Serializable
| Constructor and Description |
|---|
TiFlashReplicaInfo(long count,
String[] locationLabels,
boolean available,
long[] availablePartitionIDs) |
| Modifier and Type | Method and Description |
|---|---|
long[] |
getAvailablePartitionIDs() |
long |
getCount() |
String[] |
getLocationLabels() |
boolean |
isAvailable() |
boolean |
isPartitionAvailable(long pid) |
public TiFlashReplicaInfo(long count,
String[] locationLabels,
boolean available,
long[] availablePartitionIDs)
public boolean isPartitionAvailable(long pid)
public long getCount()
public String[] getLocationLabels()
public boolean isAvailable()
public long[] getAvailablePartitionIDs()
Copyright © 2025 PingCAP. All rights reserved.