public class EvenClusterLoadStatusDescription extends Object
ConfluentAdmin.describeEvenClusterLoadStatus()
The status contains healUnevenLoadTrigger
that helps
identify if SBC self-healing is enabled for the cluster.
The status of the even cluster load is tracked by two statuses:
#currentEvenClusterLoadStatus()
, and
#previousEvenClusterLoadStatus()
.
In addition to the statuses, the
#evenClusterLoadError()
helps give context about the
status of the even load cluster operation as to why the operation failed etc.Constructor and Description |
---|
EvenClusterLoadStatusDescription(BalancerSelfHealMode healUnevenLoadTrigger,
EvenClusterLoadStatus currentEvenClusterLoadStatus,
EvenClusterLoadStatus previousEvenClusterLoadStatus,
long currentStatusLastUpdateTimeMs,
long previousStatusLastUpdateTimeMs,
BalancerOperationError evenClusterLoadError)
Detailed status of even cluster load task.
|
EvenClusterLoadStatusDescription(EvenClusterLoadStatus currentEvenClusterLoadStatus,
EvenClusterLoadStatus previousEvenClusterLoadStatus,
long currentStatusLastUpdateTimeMs,
long previousStatusLastUpdateTimeMs,
BalancerOperationError evenClusterLoadError)
Detailed status of even cluster load task.
|
Modifier and Type | Method and Description |
---|---|
EvenClusterLoadStatus |
currentEvenClusterLoadStatus() |
long |
currentStatusLastUpdatetimeMs() |
Optional<BalancerOperationError> |
evenClusterLoadError() |
BalancerSelfHealMode |
healUnevenLoadTrigger() |
EvenClusterLoadStatus |
previousEvenClusterLoadStatus() |
long |
previousStatusLastUpdatetimeMs() |
String |
toString() |
public EvenClusterLoadStatusDescription(BalancerSelfHealMode healUnevenLoadTrigger, EvenClusterLoadStatus currentEvenClusterLoadStatus, EvenClusterLoadStatus previousEvenClusterLoadStatus, long currentStatusLastUpdateTimeMs, long previousStatusLastUpdateTimeMs, BalancerOperationError evenClusterLoadError)
healUnevenLoadTrigger
- - whether SBC self-healing is enabled.currentEvenClusterLoadStatus
- - Status of the latest run of even cluster load.previousEvenClusterLoadStatus
- - Status of the second to last run of even cluster load.currentStatusLastUpdateTimeMs
- - Time when the latest even cluster load status changed.previousStatusLastUpdateTimeMs
- - Time when the second to last even cluster load
status changed.evenClusterLoadError
- - Error that latest even cluster load operation might ran
into if any, else the error that second to last even cluster
load operation might have ran into.public EvenClusterLoadStatusDescription(EvenClusterLoadStatus currentEvenClusterLoadStatus, EvenClusterLoadStatus previousEvenClusterLoadStatus, long currentStatusLastUpdateTimeMs, long previousStatusLastUpdateTimeMs, BalancerOperationError evenClusterLoadError)
currentEvenClusterLoadStatus
- - Status of the latest run of even cluster load.previousEvenClusterLoadStatus
- - Status of the second to last run of even cluster load.currentStatusLastUpdateTimeMs
- - Time when the latest even cluster load status changed.previousStatusLastUpdateTimeMs
- - Time when the second to last even cluster load
status changed.evenClusterLoadError
- - Error that latest even cluster load operation might ran
into if any, else the error that second to last even cluster
load operation might have ran into.public BalancerSelfHealMode healUnevenLoadTrigger()
public EvenClusterLoadStatus currentEvenClusterLoadStatus()
public EvenClusterLoadStatus previousEvenClusterLoadStatus()
public long currentStatusLastUpdatetimeMs()
public long previousStatusLastUpdatetimeMs()
public Optional<BalancerOperationError> evenClusterLoadError()