Trait/Object

com.twitter.finagle.serverset2.client

NullZooKeeperRW

Related Docs: object NullZooKeeperRW | package client

Permalink

trait NullZooKeeperRW extends ZooKeeperRW with NullZooKeeperReader with NullZooKeeperWriter

Linear Supertypes
NullZooKeeperWriter, NullZooKeeperReader, NullZooKeeperClient, ZooKeeperRW, ZooKeeperWriter, ZooKeeperReader, ZooKeeperClient, Closable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NullZooKeeperRW
  2. NullZooKeeperWriter
  3. NullZooKeeperReader
  4. NullZooKeeperClient
  5. ZooKeeperRW
  6. ZooKeeperWriter
  7. ZooKeeperReader
  8. ZooKeeperClient
  9. Closable
  10. AnyRef
  11. 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. def create(path: String, data: Option[Buf], acl: Seq[ACL], createMode: CreateMode): Future[String]

    Permalink

    Create a node of a given type with the given path.

    Create a node of a given type with the given path. The node data will be the given data, and node acl will be the given acl.

    path

    the path for the node.

    data

    the initial data for the node.

    acl

    a sequence of ACLs for the node.

    createMode

    specifies what type of node to create.

    returns

    a Future[String] containing the actual path of the created node.

    Definition Classes
    NullZooKeeperWriter → ZooKeeperWriter
  11. def delete(path: String, version: Option[Int]): Future[Unit]

    Permalink

    Delete the node with the given path.

    Delete the node with the given path. The call will succeed if such a node exists, and the given version matches the node's version (if the given version is None, it matches any node's versions).

    This operation, if successful, will trigger all the watches on the node of the given path left by existsWatch API calls, and the watches on the parent node left by getChildrenWatch API calls.

    path

    the path of the node to be deleted.

    version

    the expected node version.

    returns

    a Future[Unit]

    Definition Classes
    NullZooKeeperWriter → ZooKeeperWriter
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def exists(path: String): Future[Option[Stat]]

    Permalink

    Check if a node exists.

    Check if a node exists.

    path

    the path of the node to check.

    returns

    a Future[Option[Data.Stat] containing Some[Stat] if the node exists, or None if the node does not exist.

    Definition Classes
    NullZooKeeperReader → ZooKeeperReader
  15. def existsWatch(path: String): Future[Watched[Option[Stat]]]

    Permalink

    A version of exists that sets a watch and returns a Future[Watched[Option[Data.Stat]]]

    A version of exists that sets a watch and returns a Future[Watched[Option[Data.Stat]]]

    Definition Classes
    NullZooKeeperReader → ZooKeeperReader
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def getACL(path: String): Future[ACL]

    Permalink

    Get the ACL of the node of the given path.

    Get the ACL of the node of the given path.

    path

    the path of the node to read.

    returns

    a Future[Node.ACL]

    Definition Classes
    NullZooKeeperReader → ZooKeeperReader
  18. def getChildren(path: String): Future[Children]

    Permalink

    For a node at a given path return its stat and a list of children.

    For a node at a given path return its stat and a list of children.

    path

    the path of the node to read.

    returns

    a Future[Node.Children]

    Definition Classes
    NullZooKeeperReader → ZooKeeperReader
  19. def getChildrenWatch(path: String): Future[Watched[Children]]

    Permalink

    A version of getChildren that sets and returns a Future[Watched[Node.Children]]

    A version of getChildren that sets and returns a Future[Watched[Node.Children]]

    Definition Classes
    NullZooKeeperReader → ZooKeeperReader
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def getData(path: String): Future[Data]

    Permalink

    Return the data of the node of the given path.

    Return the data of the node of the given path.

    path

    the path of the node to read.

    returns

    a Future[Node.Data]

    Definition Classes
    NullZooKeeperReader → ZooKeeperReader
  22. def getDataWatch(path: String): Future[Watched[Data]]

    Permalink

    A version of getData that sets a watch and returns a Future[Watched[Node.Data]]

    A version of getData that sets a watch and returns a Future[Watched[Node.Data]]

    Definition Classes
    NullZooKeeperReader → ZooKeeperReader
  23. 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
  24. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  29. 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
  30. 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
  31. 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
  32. def setACL(path: String, acl: Seq[ACL], version: Option[Int]): Future[Stat]

    Permalink

    Set the ACL for the node of the given path if such a node exists and the given version matches the version of the node (if the given version is None, it matches any node's versions)

    Set the ACL for the node of the given path if such a node exists and the given version matches the version of the node (if the given version is None, it matches any node's versions)

    path

    the path of the node to write.

    acl

    a list of Data.ACL to apply to the node.

    version

    the expected matching version.

    returns

    a Future[Data.Stat]

    Definition Classes
    NullZooKeeperWriter → ZooKeeperWriter
  33. def setData(path: String, data: Option[Buf], version: Option[Int]): Future[Stat]

    Permalink

    Set the data for the node of the given path if such a node exists and the given version matches the version of the node (if the given version is None, it matches any node's versions).

    Set the data for the node of the given path if such a node exists and the given version matches the version of the node (if the given version is None, it matches any node's versions).

    This operation, if successful, will trigger all the watches on the node of the given path left by getDataWatch calls.

    path

    the path of the node to write.

    data

    the data to set.

    version

    the expected matching version.

    returns

    a Future[Data.Stat]

    Definition Classes
    NullZooKeeperWriter → ZooKeeperWriter
  34. def sync(path: String): Future[Unit]

    Permalink

    Sync.

    Sync. Flushes channel between process and leader.

    path

    the path of the node to sync.

    returns

    a Future[Unit]

    Definition Classes
    NullZooKeeperReader → ZooKeeperReader
  35. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from NullZooKeeperWriter

Inherited from NullZooKeeperReader

Inherited from NullZooKeeperClient

Inherited from ZooKeeperRW

Inherited from ZooKeeperWriter

Inherited from ZooKeeperReader

Inherited from ZooKeeperClient

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped