public class LogDirDescription
extends java.lang.Object
Constructor and Description |
---|
LogDirDescription(ApiException error,
java.util.Map<TopicPartition,ReplicaInfo> replicaInfos) |
Modifier and Type | Method and Description |
---|---|
ApiException |
error()
Returns `ApiException` if the log directory is offline or an error occurred, otherwise returns null.
|
java.util.Map<TopicPartition,ReplicaInfo> |
replicaInfos()
A map from topic partition to replica information for that partition
in this log directory.
|
java.lang.String |
toString() |
public LogDirDescription(ApiException error, java.util.Map<TopicPartition,ReplicaInfo> replicaInfos)
public ApiException error()
public java.util.Map<TopicPartition,ReplicaInfo> replicaInfos()
public java.lang.String toString()
toString
in class java.lang.Object