package zk
- Alphabetic
- Public
- All
Type Members
-
trait
AsyncCallbackPromise
[T] extends Promise[T]
Mix-in to make an AsyncCallback a Promise
- case class AuthInfo (mode: String, data: Array[Byte]) extends Product with Serializable
- class ChildrenCallbackPromise extends Promise[Children] with AsyncCallbackPromise[Children] with Children2Callback
- trait Connector extends AnyRef
- class DataCallbackPromise extends Promise[Data] with AsyncCallbackPromise[Data] with DataCallback
- class EventBroker extends Broker[WatchedEvent] with Watcher
- class EventPromise extends Promise[WatchedEvent] with Watcher
- class ExistsCallbackPromise extends Promise[Exists] with AsyncCallbackPromise[Exists] with StatCallback
-
class
LiftableFuture
[T] extends AnyRef
Allows Future[T] to be mapped to Future[Try[T]].
Allows Future[T] to be mapped to Future[Try[T]]. This is particularly useful in lifting KeepereException.NoNodeExceptions for ZOp.watch().
- Attributes
- protected
-
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.
- sealed trait NodeEvent extends AnyRef
-
trait
RetryPolicy
extends AnyRef
Pluggable retry strategy.
- sealed trait StateEvent extends AnyRef
- class StringCallbackPromise extends Promise[String] with AsyncCallbackPromise[String] with StringCallback
- class UnitCallbackPromise extends Promise[Unit] with AsyncCallbackPromise[Unit] with VoidCallback
-
trait
ZNode
extends AnyRef
A handle to a ZNode attached to a ZkClient
-
trait
ZOp
[T <: Exists] extends AnyRef
A ZNode-read operation.
-
trait
ZkClient
extends AnyRef
An Asynchronous ZooKeeper Client API.
An Asynchronous ZooKeeper Client API.
A ZkClient instance is configured with settings and defaults (like a retry policy) and is attached to underlying Connector. This allows new, immutable ZkClient instances to be created with alternative settings on the same underlying Connector.
Value Members
- object AuthInfo extends Serializable
- object Connector
- object Event
-
object
KeeperConnectionException
Matcher for connection-related KeeperExceptions.
-
object
LiftableFuture
- Attributes
- protected
- object NativeConnector extends Serializable
- object NodeEvent
- object RetryPolicy
- object StateEvent
-
object
ZNode
ZNode utilities and return types.
- object ZkClient