zoovisitor-0.2.1.2: A haskell binding to Apache Zookeeper C library(mt) using Haskell Z project.
Safe HaskellNone
LanguageHaskell2010

ZooKeeper.Types

Synopsis

Documentation

data ZHandle Source #

Instances

Instances details
Eq ZHandle Source # 
Instance details

Defined in ZooKeeper.Internal.Types

Methods

(==) :: ZHandle -> ZHandle -> Bool #

(/=) :: ZHandle -> ZHandle -> Bool #

Show ZHandle Source # 
Instance details

Defined in ZooKeeper.Internal.Types

data ClientID Source #

Instances

Instances details
Eq ClientID Source # 
Instance details

Defined in ZooKeeper.Internal.Types

Show ClientID Source # 
Instance details

Defined in ZooKeeper.Internal.Types

data ZooOp Source #

This structure holds all the arguments necessary for one op as part of a containing multi_op via zooMulti.

data AclVector Source #

Instances

Instances details
Eq AclVector Source # 
Instance details

Defined in ZooKeeper.Internal.Types

Show AclVector Source # 
Instance details

Defined in ZooKeeper.Internal.Types

zooOpenAclUnsafe :: AclVector Source #

This is a completely open ACL

zooReadAclUnsafe :: AclVector Source #

This ACL gives the world the ability to read.

zooCreatorAllAcl :: AclVector Source #

This ACL gives the creators authentication id's all permissions.

data ZooAcl Source #

Constructors

ZooAcl 

Instances

Instances details
Show ZooAcl Source # 
Instance details

Defined in ZooKeeper.Internal.Types

data AclCompletion Source #

Instances

Instances details
Show AclCompletion Source # 
Instance details

Defined in ZooKeeper.Internal.Types

data Stat Source #

Instances

Instances details
Eq Stat Source # 
Instance details

Defined in ZooKeeper.Internal.Types

Methods

(==) :: Stat -> Stat -> Bool #

(/=) :: Stat -> Stat -> Bool #

Show Stat Source # 
Instance details

Defined in ZooKeeper.Internal.Types

Methods

showsPrec :: Int -> Stat -> ShowS #

show :: Stat -> String #

showList :: [Stat] -> ShowS #

data ZooEvent Source #

Watch Types

These constants indicate the event that caused the watch event. They are possible values of the first parameter of the watcher callback.

Instances

Instances details
Eq ZooEvent Source # 
Instance details

Defined in ZooKeeper.Internal.Types

Show ZooEvent Source # 
Instance details

Defined in ZooKeeper.Internal.Types

Storable ZooEvent Source # 
Instance details

Defined in ZooKeeper.Internal.Types

pattern ZooCreateEvent :: ZooEvent Source #

A node has been created.

This is only generated by watches on non-existent nodes. These watches are set using zooWatchExists.

pattern ZooDeleteEvent :: ZooEvent Source #

A node has been deleted.

This is only generated by watches on nodes. These watches are set using zooWatchExists and zooWatchGet.

pattern ZooChangedEvent :: ZooEvent Source #

A node has changed.

This is only generated by watches on nodes. These watches are set using zooWatchExists and zooWatchGet.

pattern ZooSessionEvent :: ZooEvent Source #

A session has been lost.

This is generated when a client loses contact or reconnects with a server.

pattern ZooNoWatchingEvent :: ZooEvent Source #

A watch has been removed.

This is generated when the server for some reason, probably a resource constraint, will no longer watch a node for a client.

data ZooState Source #

State Consts

These constants represent the states of a zookeeper connection. They are possible parameters of the watcher callback.

Instances

Instances details
Eq ZooState Source # 
Instance details

Defined in ZooKeeper.Internal.Types

Show ZooState Source # 
Instance details

Defined in ZooKeeper.Internal.Types

Print ZooState Source # 
Instance details

Defined in ZooKeeper.Internal.Types

Methods

toUTF8BuilderP :: Int -> ZooState -> Builder () #

Storable ZooState Source # 
Instance details

Defined in ZooKeeper.Internal.Types

data CreateMode Source #

These modes are used by zoo_create to affect node create.

pattern ZooEphemeral :: CreateMode Source #

The znode will be deleted upon the client's disconnect.

newtype StringVector Source #

Constructors

StringVector 

Fields

Instances

Instances details
Show StringVector Source # 
Instance details

Defined in ZooKeeper.Internal.Types