com.twitter.zk

NativeConnector

case class NativeConnector(connectString: String, connectTimeout: Option[Duration], sessionTimeout: Duration, timer: Timer, authenticate: Option[AuthInfo] = scala.None) extends Connector with Serialized with Product with Serializable

An Asynchronous ZooKeeper Client.

Linear Supertypes
Serializable, Serializable, Product, Equals, Serialized, Connector, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NativeConnector
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Serialized
  7. Connector
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NativeConnector(connectString: String, connectTimeout: Option[Duration], sessionTimeout: Duration, timer: Timer, authenticate: Option[AuthInfo] = scala.None)

Type Members

  1. case class Job[T] extends Product with Serializable

    Attributes
    protected
    Definition Classes
    Serialized

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(): Future[ZooKeeper]

    Get the connection if one already exists or obtain a new one.

    Get the connection if one already exists or obtain a new one. If the connection is not received within connectTimeout, the connection is released.

    Definition Classes
    NativeConnectorConnector
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. val authenticate: Option[AuthInfo]

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val connectString: String

  11. val connectTimeout: Option[Duration]

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

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

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

    Definition Classes
    Any
  16. lazy val log: Logger

    Attributes
    protected
    Definition Classes
    Connector
  17. def mkConnection: Connection

    Attributes
    protected[this]
  18. val name: String

    Definition Classes
    NativeConnectorConnector
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. final def onSessionEvent(f: EventHandler): Unit

    Definition Classes
    Connector
    Annotations
    @tailrec()
  23. def release(): Future[Unit]

    If there is a connection, release it.

    If there is a connection, release it.

    Definition Classes
    NativeConnectorConnector
  24. def serialized[A](f: ⇒ A): Future[A]

    Attributes
    protected
    Definition Classes
    Serialized
  25. val serializedQueue: Queue[Job[_]]

    Attributes
    protected
    Definition Classes
    Serialized
  26. val sessionBroker: EventBroker

    Attributes
    protected[this]
    Definition Classes
    Connector
  27. val sessionTimeout: Duration

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

    Definition Classes
    AnyRef
  29. val timer: Timer

  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Serialized

Inherited from Connector

Inherited from AnyRef

Inherited from Any

Ungrouped