Trait/Object

spinoco.fs2.zk

ZkClient

Related Docs: object ZkClient | package zk

Permalink

trait ZkClient[F[_]] extends AnyRef

Source
ZkClient.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZkClient
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def aclOf(node: ZkNode): F[Option[List[ZkACL]]]

    Permalink

    Returns a node's acl.

    Returns a node's acl. Evaluates to None, if the node does not exists or to Some(acl) with current acls of the node (possibly empty)

  2. abstract def atomic(ops: List[ZkOp]): F[List[ZkOpResult]]

    Permalink

    Performs atomic operations.

    Performs atomic operations. That means either None or all supplied operations will succeed.

  3. abstract def childrenNowOf(node: ZkNode): F[Option[(List[ZkNode], ZkStat)]]

    Permalink

    Returns children of given node.

    Returns children of given node. Returns immediately once server answers. If the node does not exists this evaluates to None, otherwise this evaluates to the list of all children, possibly empty

  4. abstract def childrenOf(node: ZkNode): Stream[F, Option[(List[ZkNode], ZkStat)]]

    Permalink

    Returns a Stream of list of children, of supplied node.

    Returns a Stream of list of children, of supplied node. This stream is discrete, so it will emit only when the children list is altered, that means child is added or deleted. It won't update itself when the children was updated.

    Note that if node does not exists, this emits None.

  5. abstract def clientState: Stream[F, ZkClientState.Value]

    Permalink

    Provides stream of client state.

    Provides stream of client state. This allows fine-tuned monitoring of ZkClient, primarily when the client disconnects or expired.

  6. abstract def create(node: ZkNode, createMode: ZkCreateMode, data: Option[Chunk[Byte]], acl: List[ZkACL]): F[ZkNode]

    Permalink

    Create ZkNode.

    Create ZkNode. Evaluates to name of the node created. That name can be used to construct full node name in case of sequential nodes.

    node

    Node to create

    createMode

    Creation Mode of the node

    data

    If specified, data that has to be stored at node. Maximum chunk size is 1MB

    acl

    ACLs applied for the node

  7. abstract def dataNowOf(node: ZkNode): F[Option[(Chunk[Byte], ZkStat)]]

    Permalink

    Returns data of the specified node.

    Returns data of the specified node. Possibly evals to None if either node does not exists, or no data are set.

  8. abstract def dataOf(node: ZkNode): Stream[F, Option[(Chunk[Byte], ZkStat)]]

    Permalink

    Returns discrete stream of data for the supplied node.

    Returns discrete stream of data for the supplied node. Emits None if node cannot be found or there are no Data available.

  9. abstract def delete(node: ZkNode, version: Option[Int]): F[Unit]

    Permalink

    Delete node at given patth.

    Delete node at given patth. Optionally specify version to delete node if node's version matches supplied version

  10. abstract def exists(node: ZkNode): Stream[F, Option[ZkStat]]

    Permalink

    Returns a stream of stats, that may be used to verify whether given node exists or not.

    Returns a stream of stats, that may be used to verify whether given node exists or not. Returned stream is discrete, so it only emits when the information is updated (i.e. node added, modified or deleted).

  11. abstract def existsNow(node: ZkNode): F[Option[ZkStat]]

    Permalink

    Returns immediately once the check if supplied ZkNode exists at given path is performed at server.

    Returns immediately once the check if supplied ZkNode exists at given path is performed at server. Evaluates to Some(stats), if the ZkNode exists or to None, if it does not.

  12. abstract def sessionId: F[Long]

    Permalink

    Id of zookeeper client session

  13. abstract def setAclOf(node: ZkNode, acl: List[ZkACL], version: Option[Int]): F[Option[ZkStat]]

    Permalink

    Sets the access list for the supplied node.

    Sets the access list for the supplied node. Evaluates to None if the node does not exists or if the supplied version won't match the version of the node.

  14. abstract def setDataOf(node: ZkNode, data: Option[Chunk[Byte]], version: Option[Int]): F[Option[ZkStat]]

    Permalink

    Sets the data on given ZkNode.

    Sets the data on given ZkNode. If the node does not exists, this evaluates to None. Also yields to None, if supplied version does not matches the version of the node.

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZkClient[F] to any2stringadd[ZkClient[F]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ZkClient[F], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZkClient[F] to ArrowAssoc[ZkClient[F]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def ensuring(cond: (ZkClient[F]) ⇒ Boolean, msg: ⇒ Any): ZkClient[F]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZkClient[F] to Ensuring[ZkClient[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (ZkClient[F]) ⇒ Boolean): ZkClient[F]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZkClient[F] to Ensuring[ZkClient[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): ZkClient[F]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZkClient[F] to Ensuring[ZkClient[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): ZkClient[F]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZkClient[F] to Ensuring[ZkClient[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZkClient[F] to StringFormat[ZkClient[F]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def [B](y: B): (ZkClient[F], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ZkClient[F] to ArrowAssoc[ZkClient[F]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ZkClient[F] to any2stringadd[ZkClient[F]]

Inherited by implicit conversion StringFormat from ZkClient[F] to StringFormat[ZkClient[F]]

Inherited by implicit conversion Ensuring from ZkClient[F] to Ensuring[ZkClient[F]]

Inherited by implicit conversion ArrowAssoc from ZkClient[F] to ArrowAssoc[ZkClient[F]]

Ungrouped