Class KubernetesLeadershipController

java.lang.Object
org.apache.camel.component.kubernetes.cluster.lock.KubernetesLeadershipController
All Implemented Interfaces:
AutoCloseable, org.apache.camel.Service

public class KubernetesLeadershipController extends Object implements org.apache.camel.Service
Monitors current status and participate to leader election when no active leaders are present. It communicates changes in leadership and cluster members to the given event handler.
  • Constructor Details

  • Method Details

    • start

      public void start()
      Specified by:
      start in interface org.apache.camel.Service
    • stop

      public void stop()
      Specified by:
      stop in interface org.apache.camel.Service
    • isDisabled

      public boolean isDisabled()
    • setDisabled

      public void setDisabled(boolean disabled)