public static class SbkAdminUtils.ReplicaDescription extends Object
TopicPartition
's replicasModifier and Type | Field and Description |
---|---|
List<Integer> |
replicaSet
This represents the list of all node ids for all replicas.
|
Optional<Throwable> |
throwableOpt |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isFailed() |
static SbkAdminUtils.ReplicaDescription |
ofFailedDescription(Throwable throwable) |
static SbkAdminUtils.ReplicaDescription |
ofSuccessfulDescription(List<Integer> replicaSet) |
static SbkAdminUtils.ReplicaDescription |
ofUnexistingPartition()
Used in cases where the underlying partition was not returned from the describe topics call.
|
String |
toString() |
public final List<Integer> replicaSet
public boolean isFailed()
public static SbkAdminUtils.ReplicaDescription ofUnexistingPartition()
public static SbkAdminUtils.ReplicaDescription ofSuccessfulDescription(List<Integer> replicaSet)
public static SbkAdminUtils.ReplicaDescription ofFailedDescription(Throwable throwable)