NAME
ZooKeeper::Channel
DESCRIPTION
A perl interface to the C queue used for sending data between ZooKeeper C library and perl.
This class should NOT be used directly. Reading and writing to the channel should be handled via a ZooKeeper::Dispatcher, because only dispatchers know know to handle C structs passed from the ZooKeeper C library. Undocumented methods are primarily intended to be used by unit tests, for testing the underlying C queue implementation.
METHODS
size
The current size of the channel. Indicates the number of pending events, waiting to be dispatched.