Object

kafka.manager.utils

ZkUtils

Related Doc: package utils

Permalink

object ZkUtils

Borrowed from kafka 0.8.1.1. Adapted to use curator framework. https://git-wip-us.apache.org/repos/asf?p=kafka.git;a=blob;f=core/src/main/scala/kafka/utils/ZkUtils.scala

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZkUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. val AdminPath: String

    Permalink
  5. val BrokerIdsPath: String

    Permalink
  6. val BrokerTopicsPath: String

    Permalink
  7. val ConsumersPath: String

    Permalink
  8. val ControllerEpochPath: String

    Permalink
  9. val ControllerPath: String

    Permalink
  10. val DeleteTopicsPath: String

    Permalink
  11. val PreferredReplicaLeaderElectionPath: String

    Permalink
  12. val ReassignPartitionsPath: String

    Permalink
  13. val TopicConfigChangesPath: String

    Permalink
  14. val TopicConfigPath: String

    Permalink
  15. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def createPersistentPath(curator: CuratorFramework, path: String, data: Array[Byte]): Unit

    Permalink

    Create a persistent node with the given path and data.

    Create a persistent node with the given path and data. Create parents if necessary.

  18. def createPersistentPath(curator: CuratorFramework, path: String): Unit

    Permalink
  19. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getDeleteTopicPath(topic: String): String

    Permalink
  24. def getPartitionReassignmentZkData(partitionsToBeReassigned: Map[TopicAndPartition, Seq[Int]]): String

    Permalink
  25. def getTopicConfigPath(topic: String): String

    Permalink
  26. def getTopicPartitionsPath(topic: String): String

    Permalink
  27. def getTopicPath(topic: String): String

    Permalink
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  33. def readData(curator: CuratorFramework, path: String): (String, Stat)

    Permalink
  34. def readDataMaybeNull(curator: CuratorFramework, path: String): (Option[String], Stat)

    Permalink
  35. def replicaAssignmentZkData(map: Map[String, Seq[Int]]): String

    Permalink

    Get JSON partition to replica map from zookeeper.

  36. implicit def serializeString(str: String): Array[Byte]

    Permalink
  37. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. def updatePersistentPath(curator: CuratorFramework, path: String, ba: Array[Byte], version: Int = 1): Any

    Permalink

    Update the value of a persistent node with the given path and data.

    Update the value of a persistent node with the given path and data. create parent directory if necessary. Never throw NodeExistException. Return the updated path zkVersion

  40. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped