Trait/Object

com.twitter.finagle.serverset2.client

NullZooKeeperClient

Related Docs: object NullZooKeeperClient | package client

Permalink

trait NullZooKeeperClient extends ZooKeeperClient

Provide a Null client, useful as an initial value for a wrapper that re-establishes a ZooKeeper connection on SessionExpiration, as ZooKeeperClient is designed for single session operation.

Linear Supertypes
ZooKeeperClient, Closable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NullZooKeeperClient
  2. ZooKeeperClient
  3. Closable
  4. AnyRef
  5. 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. def addAuthInfo(scheme: String, auth: Buf): Future[Unit]

    Permalink

    Add the specified scheme: auth information to this connection.

    Add the specified scheme: auth information to this connection.

    scheme

    the authentication scheme to use.

    auth

    the authentication credentials.

    returns

    a Future[Unit]

    Definition Classes
    NullZooKeeperClient → ZooKeeperClient
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def close(deadline: Time): Future[Unit]

    Permalink
    Definition Classes
    NullZooKeeperClient → Closable
  8. def close(after: Duration): Future[Unit]

    Permalink
    Definition Classes
    Closable
  9. final def close(): Future[Unit]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getEphemerals(): Future[Seq[String]]

    Permalink

    Get the existing ephemeral nodes created with the current session ID.

    Get the existing ephemeral nodes created with the current session ID.

    NOTE: This method is not universally implemented. The Future will fail with KeeperException.Unimplemented if this is the case.

    returns

    a Future[Seq[String]] of ephemeral node paths.

    Definition Classes
    NullZooKeeperClient → ZooKeeperClient
  15. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  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. def sessionId: Long

    Permalink

    The session id for this ZooKeeper client instance.

    The session id for this ZooKeeper client instance. The value returned is not valid until the client connects to a server and may change after a re-connect.

    returns

    current session id

    Definition Classes
    NullZooKeeperClient → ZooKeeperClient
  21. def sessionPasswd: Buf

    Permalink

    The session password for this ZooKeeper client instance.

    The session password for this ZooKeeper client instance. The value returned is not valid until the client connects to a server and may change after a re-connect.

    returns

    current session password

    Definition Classes
    NullZooKeeperClient → ZooKeeperClient
  22. def sessionTimeout: Duration

    Permalink

    The negotiated session timeout for this ZooKeeper client instance.

    The negotiated session timeout for this ZooKeeper client instance. The value returned is not valid until the client connects to a server and may change after a re-connect.

    returns

    current session timeout

    Definition Classes
    NullZooKeeperClient → ZooKeeperClient
  23. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

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

Inherited from ZooKeeperClient

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped