public class LogDirDescription extends Object
Constructor and Description |
---|
LogDirDescription(ApiException error,
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.
|
Map<TopicPartition,ReplicaInfo> |
replicaInfos()
A map from topic partition to replica information for that partition
in this log directory.
|
String |
toString() |
public LogDirDescription(ApiException error, Map<TopicPartition,ReplicaInfo> replicaInfos)
public ApiException error()
public Map<TopicPartition,ReplicaInfo> replicaInfos()