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
- Alphabetic
- By Inheritance
Inherited
- NativeConnector
- Serializable
- Product
- Equals
- Serialized
- Connector
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Type Members
- case class Job[T](promise: Promise[T], doItToIt: () => T) extends Product with Serializable
- Attributes
- protected
- Definition Classes
- Serialized
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- NativeConnector → Connector
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val authenticate: Option[AuthInfo]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val connectString: String
- val connectTimeout: Option[Duration]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val log: Logger
- Attributes
- protected
- Definition Classes
- Connector
- def mkConnection: Connection
- Attributes
- protected[this]
- val name: String
- Definition Classes
- NativeConnector → Connector
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def onSessionEvent(f: EventHandler): Unit
- Definition Classes
- Connector
- Annotations
- @tailrec()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def release(): Future[Unit]
If there is a connection, release it.
If there is a connection, release it.
- Definition Classes
- NativeConnector → Connector
- def serialized[A](f: => A): Future[A]
- Attributes
- protected
- Definition Classes
- Serialized
- val serializedQueue: Queue[Job[_]]
- Attributes
- protected
- Definition Classes
- Serialized
- val sessionBroker: EventBroker
- Attributes
- protected[this]
- Definition Classes
- Connector
- val sessionTimeout: Duration
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val timer: Timer
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()