Package

uk.co.appministry.akka

zk

Permalink

package zk

Visibility
  1. Public
  2. All

Type Members

  1. case class AclEntry(acl: List[ACL], stat: Stat) extends Product with Serializable

    Permalink

    ACL entry.

    ACL entry.

    acl

    access control list

    stat

    node stat

  2. case class SimpleSerializer() extends ZkSerializer with Product with Serializable

    Permalink

    Simple ZooKeeper client serializer.

  3. case class WatchedEventMeta(underlying: WatchedEvent) extends Product with Serializable

    Permalink

    A rich wrapper for the org.apache.zookeeper.WatchedEvent

    A rich wrapper for the org.apache.zookeeper.WatchedEvent

    underlying

    original event

  4. class ZkClientActor extends Actor with ActorLogging with ZkClientWatcher

    Permalink

    Akka ZooKeeper client.

    Akka ZooKeeper client.

    Reactive ZooKeeper client.
    Check https://github.com/AppMinistry/akka-zk for details.

    TODO: Intead of using ActorPublisher, consider using the org.reactivestreams.Publisher.
    According to the Akka docs, ActorPublisher may be removed in the future.

  5. case class ZkClientConnectionFailedException() extends Exception with Product with Serializable

    Permalink

    Represents a connectivity issue.

    Represents a connectivity issue. Thrown if the ZooKeeper client is unable to correct to the server. This error will terminate the instance of the actor.

  6. case class ZkClientInvalidStateException(message: String) extends Exception with Product with Serializable

    Permalink

    Represents an internal ZooKeeper client error.

    Represents an internal ZooKeeper client error. Such errors are not recoverable as they indicate state corruption.

    message

    Human readable description of the problem.

  7. case class ZkClientState(currentAttempt: Int, connectRequest: Option[Connect], requestor: Option[ActorRef], connection: Option[ZooKeeper] = None, serializer: ZkSerializer = new SimpleSerializer, subscriber: Option[Subscriber[_ >: StreamResponse]] = None, dataSubscriptions: List[String] = new util.ArrayList[String](), childSubscriptions: List[String] = new util.ArrayList[String]()) extends Product with Serializable

    Permalink

    ZooKeeper client state representation.

    ZooKeeper client state representation.

    currentAttempt

    current connection attempt

    connectRequest

    maximum number of connection attempts

    requestor

    akka.actor.ActorRef of the actor requesting the connection

    connection

    underlying ZooKeeper connection

    serializer

    serializer used for reading and writing the data

  8. trait ZkClientWatcher extends Watcher

    Permalink

    ZooKeeper watcher mixin.

    ZooKeeper watcher mixin.

    Contains the logic for handling ZooKeeper org.apache.zookeeper.WatchedEvents.

  9. case class ZkSaslConfigurationFileException(message: String) extends Exception with Product with Serializable

    Permalink

    SASL configuration file related exception.

    SASL configuration file related exception.

    message

    Human readable description of the problem.

  10. trait ZkSerializer extends AnyRef

    Permalink

    ZooKeeper data serializer.

  11. case class ZkSerializerMarshallingError(cause: Throwable) extends Exception with Product with Serializable

    Permalink

    ZooKeeper data serialization error.

    ZooKeeper data serialization error.

    cause

    original error

Value Members

  1. object PathExistenceStatus

    Permalink

    ZooKeeper node existence status.

  2. object SaslProperties

    Permalink

    Convenience ZooKeeper SASL properties.

  3. object SaslStatus

    Permalink

    SASL status.

  4. object ZkClientMessages

    Permalink

    ZooKeeper client messages.

  5. object ZkClientMetricNames

    Permalink

    Metric names.

  6. object ZkClientProtocolDefaults

    Permalink

    ZooKeeper client default values' settings.

  7. object ZkClientStreamProtocol

    Permalink

    ZooKeeper client streaming protocol.

  8. object ZkInternalProtocol

    Permalink

    Internal protocol.

  9. object ZkRequestProtocol

    Permalink

    ZooKeeper client request protocol.

  10. object ZkResponseProtocol

    Permalink

    ZooKeeper client response protocol.

Ungrouped