public class BalancerStatusDescription extends Object
ConfluentAdmin.describeBalancerStatus(DescribeBalancerStatusOptions)
.
The status of the balancer is tracked by a status field:
#balancerStatus()
.
In addition to the status field, the #balancerOperationError()
gives context about the status of the balancer, e.g. why the balancer is in an error state etc.Constructor and Description |
---|
BalancerStatusDescription(BalancerStatus balancerStatus,
BalancerOperationError balancerOperationError) |
Modifier and Type | Method and Description |
---|---|
Optional<BalancerOperationError> |
balancerOperationError()
An optional error that gives context as to why the balancer is in the given state.
|
BalancerStatus |
balancerStatus()
The current status of the Confluent Balancer component.
|
String |
toString() |
public BalancerStatusDescription(BalancerStatus balancerStatus, BalancerOperationError balancerOperationError)
public BalancerStatus balancerStatus()
BalancerStatus
public Optional<BalancerOperationError> balancerOperationError()