Class

kafka.server.ZookeeperLeaderElector

LeaderChangeListener

Related Doc: package ZookeeperLeaderElector

Permalink

class LeaderChangeListener extends IZkDataListener with Logging

We do not have session expiration listen in the ZkElection, but assuming the caller who uses this module will have its own session expiration listener and handler

Linear Supertypes
Logging, IZkDataListener, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LeaderChangeListener
  2. Logging
  3. IZkDataListener
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LeaderChangeListener()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def debug(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  7. def debug(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  8. def debug(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def error(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  12. def error(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  13. def error(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  14. def fatal(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  15. def fatal(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  16. def fatal(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def handleDataChange(dataPath: String, data: AnyRef): Unit

    Permalink

    Called when the leader information stored in zookeeper has changed.

    Called when the leader information stored in zookeeper has changed. Record the new leader in memory

    Definition Classes
    LeaderChangeListener → IZkDataListener
    Annotations
    @throws( classOf[Exception] )
    Exceptions thrown

    Exception On any error.

  20. def handleDataDeleted(dataPath: String): Unit

    Permalink

    Called when the leader information stored in zookeeper has been delete.

    Called when the leader information stored in zookeeper has been delete. Try to elect as the leader

    Definition Classes
    LeaderChangeListener → IZkDataListener
    Annotations
    @throws( classOf[Exception] )
    Exceptions thrown

    Exception On any error.

  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def info(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  23. def info(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  24. def info(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. var logIdent: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. lazy val logger: Logger

    Permalink
    Definition Classes
    Logging
  28. val loggerName: String

    Permalink
    Definition Classes
    Logging
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. def swallow(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  33. def swallowDebug(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  34. def swallowError(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  35. def swallowInfo(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  36. def swallowTrace(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  37. def swallowWarn(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  40. def trace(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  41. def trace(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  42. def trace(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  43. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def warn(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  47. def warn(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  48. def warn(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging

Inherited from Logging

Inherited from IZkDataListener

Inherited from AnyRef

Inherited from Any

Ungrouped