Class EvenClusterLoadStatusDescription

java.lang.Object
org.apache.kafka.clients.admin.EvenClusterLoadStatusDescription

public class EvenClusterLoadStatusDescription extends Object
A description of an even cluster load operation, which has been listed via 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 Details

    • EvenClusterLoadStatusDescription

      public EvenClusterLoadStatusDescription(BalancerSelfHealMode healUnevenLoadTrigger, EvenClusterLoadStatus currentEvenClusterLoadStatus, EvenClusterLoadStatus previousEvenClusterLoadStatus, long currentStatusLastUpdateTimeMs, long previousStatusLastUpdateTimeMs, BalancerOperationError evenClusterLoadError)
      Detailed status of even cluster load task.
      Parameters:
      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.
    • EvenClusterLoadStatusDescription

      public EvenClusterLoadStatusDescription(EvenClusterLoadStatus currentEvenClusterLoadStatus, EvenClusterLoadStatus previousEvenClusterLoadStatus, long currentStatusLastUpdateTimeMs, long previousStatusLastUpdateTimeMs, BalancerOperationError evenClusterLoadError)
      Detailed status of even cluster load task. This is older response for versions invalid input: '<'= 7.2.
      Parameters:
      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.
  • Method Details

    • healUnevenLoadTrigger

      public BalancerSelfHealMode healUnevenLoadTrigger()
    • currentEvenClusterLoadStatus

      public EvenClusterLoadStatus currentEvenClusterLoadStatus()
    • previousEvenClusterLoadStatus

      public EvenClusterLoadStatus previousEvenClusterLoadStatus()
    • currentStatusLastUpdatetimeMs

      public long currentStatusLastUpdatetimeMs()
    • previousStatusLastUpdatetimeMs

      public long previousStatusLastUpdatetimeMs()
    • evenClusterLoadError

      public Optional<BalancerOperationError> evenClusterLoadError()
    • toString

      public String toString()
      Overrides:
      toString in class Object