com.loopfor

zookeeper

package zookeeper

A Scala API for ZooKeeper.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. zookeeper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class ACL(id: Id, permission: Int) extends org.apache.zookeeper.data.ACL with Product with Serializable

    An access control list assignable to a ZooKeeper node.

  2. type APIErrorException = org.apache.zookeeper.KeeperException.APIErrorException

  3. trait AsynchronousWatchableZookeeper extends Zookeeper

    A ZooKeeper client with asynchronous and watchable operations.

  4. trait AsynchronousZookeeper extends Zookeeper

    A ZooKeeper client with asynchronous operations.

  5. type AuthFailedException = org.apache.zookeeper.KeeperException.AuthFailedException

  6. type BadArgumentsException = org.apache.zookeeper.KeeperException.BadArgumentsException

  7. type BadVersionException = org.apache.zookeeper.KeeperException.BadVersionException

  8. abstract class BaseId extends Id

  9. case class CheckOperation(path: String, version: Option[Int]) extends Operation with Product with Serializable

    A check operation.

  10. case class CheckProblem(op: CheckOperation, error: Option[KeeperException]) extends Problem with Product with Serializable

    A problem with a check operation.

  11. case class CheckResult(op: CheckOperation) extends Result with Product with Serializable

    The result of a check operation.

  12. case class ChildrenChanged(path: String) extends NodeEvent with Product with Serializable

    An event indicating that the children associated with a node were changed.

  13. trait Configuration extends AnyRef

    A client configuration for connecting to a ZooKeeper cluster.

  14. type ConnectionLossException = org.apache.zookeeper.KeeperException.ConnectionLossException

  15. case class CreateOperation(path: String, data: Array[Byte], acl: Seq[ACL], disp: Disposition) extends Operation with Product with Serializable

    A create operation.

  16. case class CreateProblem(op: CreateOperation, error: Option[KeeperException]) extends Problem with Product with Serializable

    A problem with a create operation.

  17. case class CreateResult(op: CreateOperation, path: String) extends Result with Product with Serializable

    The result of a create operation.

  18. case class Created(path: String) extends NodeEvent with Product with Serializable

    An event indicating that a node was created.

  19. trait Credential extends AnyRef

    A credential with a ZooKeeper session.

  20. case class DataChanged(path: String) extends NodeEvent with Product with Serializable

    An event indicating that the data associated with a node was changed.

  21. type DataInconsistencyException = org.apache.zookeeper.KeeperException.DataInconsistencyException

  22. case class DeleteOperation(path: String, version: Option[Int]) extends Operation with Product with Serializable

    A delete operation.

  23. case class DeleteProblem(op: DeleteOperation, error: Option[KeeperException]) extends Problem with Product with Serializable

    A problem with a delete operation.

  24. case class DeleteResult(op: DeleteOperation) extends Result with Product with Serializable

    The result of a delete operation.

  25. case class Deleted(path: String) extends NodeEvent with Product with Serializable

    An event indicating that a node was deleted.

  26. case class DigestId(username: String, password: String) extends BaseId with Product with Serializable

    An identity whose scheme is "digest" and id is equal to "username:password".

  27. sealed trait Disposition extends AnyRef

    Specifies the disposition of nodes when created.

  28. sealed trait Event extends AnyRef

    An event generated by ZooKeeper.

  29. case class HostId(domain: String) extends BaseId with Product with Serializable

    An identity whose scheme is "host" and id is equal to "domain".

  30. sealed trait Id extends AnyRef

    An identity associated with an ACL.

  31. type InvalidACLException = org.apache.zookeeper.KeeperException.InvalidACLException

  32. type InvalidCallbackException = org.apache.zookeeper.KeeperException.InvalidCallbackException

  33. case class IpId(addr: String, prefix: Int) extends BaseId with Product with Serializable

    An identity whose scheme is "ip" and id is equal to "addr/prefix".

  34. type KeeperException = org.apache.zookeeper.KeeperException

  35. type MarshallingErrorException = org.apache.zookeeper.KeeperException.MarshallingErrorException

  36. type NoAuthException = org.apache.zookeeper.KeeperException.NoAuthException

  37. type NoChildrenForEphemeralsException = org.apache.zookeeper.KeeperException.NoChildrenForEphemeralsException

  38. type NoNodeException = org.apache.zookeeper.KeeperException.NoNodeException

  39. trait Node extends AnyRef

    Represents a node in ZooKeeper.

  40. trait NodeEvent extends Event

    A category of events representing changes to nodes.

  41. type NodeExistsException = org.apache.zookeeper.KeeperException.NodeExistsException

  42. type NotEmptyException = org.apache.zookeeper.KeeperException.NotEmptyException

  43. type NotReadOnlyException = org.apache.zookeeper.KeeperException.NotReadOnlyException

  44. sealed trait Operation extends AnyRef

    An operation that may be composed with others to form an atomic transaction to ZooKeeper.

  45. type OperationTimeoutException = org.apache.zookeeper.KeeperException.OperationTimeoutException

  46. trait Path extends AnyRef

    Represents an absolute or relative path to a node in ZooKeeper.

  47. sealed trait Problem extends AnyRef

    A problem with an operation in the context of an atomic operation.

  48. sealed trait Result extends AnyRef

    The result of an operation within an atomic transaction.

  49. type RuntimeInconsistencyException = org.apache.zookeeper.KeeperException.RuntimeInconsistencyException

  50. trait Session extends AnyRef

    A session established with ZooKeeper.

  51. type SessionExpiredException = org.apache.zookeeper.KeeperException.SessionExpiredException

  52. type SessionMovedException = org.apache.zookeeper.KeeperException.SessionMovedException

  53. case class SetOperation(path: String, data: Array[Byte], version: Option[Int]) extends Operation with Product with Serializable

    A set operation.

  54. case class SetProblem(op: SetOperation, error: Option[KeeperException]) extends Problem with Product with Serializable

    A problem with a set operation.

  55. case class SetResult(op: SetOperation, status: Status) extends Result with Product with Serializable

    The result of a set operation.

  56. trait StateEvent extends Event

    A category of events representing state changes to sessions.

  57. trait Status extends AnyRef

    The status of a ZooKeeper node.

  58. trait SynchronousWatchableZookeeper extends Zookeeper

    A ZooKeeper client with synchronous and watchable operations.

  59. trait SynchronousZookeeper extends Zookeeper

    A ZooKeeper client with synchronous operations.

  60. type SystemErrorException = org.apache.zookeeper.KeeperException.SystemErrorException

  61. type UnimplementedException = org.apache.zookeeper.KeeperException.UnimplementedException

  62. trait Zookeeper extends AnyRef

    An instance of a ZooKeeper client.

Value Members

  1. object ACL extends Serializable

    Constructs and deconstructs ACL values.

  2. object AsynchronousZookeeper

    Constructs AsynchronousZookeeper values.

  3. object AuthId extends BaseId with Product with Serializable

    An identity whose scheme is "auth" and id is "".

  4. object Authenticated extends StateEvent with Product with Serializable

    An event indicating that the client successfully authenticated with ZooKeeper.

  5. object AuthenticationFailed extends StateEvent with Product with Serializable

    An event indicating that the client failed to authenticate with ZooKeeper.

  6. object Configuration

    Constructs and deconstructs Configuration values.

  7. object Connected extends StateEvent with Product with Serializable

    An event indicating that the client is connected to ZooKeeper.

  8. object ConnectedReadOnly extends StateEvent with Product with Serializable

    An event indicating that the client is connected to ZooKeeper in a read-only manner.

  9. object Credential

    Constructs and deconstructs Credential values.

  10. object Disconnected extends StateEvent with Product with Serializable

    An event indicating that the client is not connected to ZooKeeper.

  11. object Ephemeral extends Disposition

    Indicates that a node will be automatically deleted when the creator disconnects from ZooKeeper.

  12. object EphemeralSequential extends Disposition

    Indicates that a node will be automatically deleted when the creator disconnects from ZooKeeper and that the name will be appended with a monotonically increasing number.

  13. object Expired extends StateEvent with Product with Serializable

    An event indicating that the client session has been expired by ZooKeeper.

  14. object Id

    Constructs and deconstructs Id values.

  15. object Node

    Constructs and deconstructs Node values.

  16. object Path

    Constructs and deconstructs Path values.

  17. object Persistent extends Disposition

    Indicates that a node will persist when the creator disconnects from ZooKeeper.

  18. object PersistentSequential extends Disposition

    Indicates that a node will persist when the creator disconnects from ZooKeeper and that the name will be appended with a monotonically increasing number.

  19. object Session

    Constructs and deconstructs Session values.

  20. object SynchronousZookeeper

    Constructs SynchronousZookeeper values.

  21. object WorldId extends BaseId with Product with Serializable

    An identity whose scheme is "world" and id is "anyone".

  22. object Zookeeper

    Constructs Zookeeper values.

  23. implicit def tupleToInetSocketAddress(addr: (String, Int)): InetSocketAddress

    Converts the tuple (host,port) to an Internet socket address.

    Converts the tuple (host,port) to an Internet socket address.

    returns

    an InetSocketAddress composed from the given addr tuple

Inherited from AnyRef

Inherited from Any

Ungrouped