com.twitter.zk

NativeConnector

case class NativeConnector(connectString: String, connectTimeout: Option[Duration], sessionTimeout: Duration, timer: Timer, authenticate: Option[AuthInfo] = 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] = None)

Type Members

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

    Attributes
    protected
    Definition Classes
    Serialized

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. 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
  5. final def asInstanceOf[T0]: T0

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

  7. def clone(): AnyRef

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

  9. val connectTimeout: Option[Duration]

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

    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

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

    Definition Classes
    Any
  14. lazy val log: Logger

    Attributes
    protected
    Definition Classes
    Connector
  15. def mkConnection: Connection

    Attributes
    protected[this]
  16. val name: String

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

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

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

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

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

    If there is a connection, release it.

    If there is a connection, release it.

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

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

    Attributes
    protected
    Definition Classes
    Serialized
  24. val sessionBroker: EventBroker

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

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

    Definition Classes
    AnyRef
  27. val timer: Timer

  28. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. 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