Class/Object

com.twitter.zk

NativeConnector

Related Docs: object NativeConnector | package zk

Permalink

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
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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Type Members

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

    Permalink
    Attributes
    protected
    Definition Classes
    Serialized

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. def apply(): Future[ZooKeeper]

    Permalink

    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

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

    Permalink
  7. def clone(): AnyRef

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

    Permalink
  9. val connectTimeout: Option[Duration]

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

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    Any
  14. lazy val log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Connector
  15. def mkConnection: Connection

    Permalink
    Attributes
    protected[this]
  16. val name: String

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

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

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

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

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

    Permalink

    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]

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

    Permalink
    Attributes
    protected
    Definition Classes
    Serialized
  24. val sessionBroker: EventBroker

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

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

    Permalink
    Definition Classes
    AnyRef
  27. val timer: Timer

    Permalink
  28. final def wait(): Unit

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

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

    Permalink
    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