ZooKeeper::Channel
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.
The current size of the channel. Indicates the number of pending events, waiting to be dispatched.
To install ZooKeeper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ZooKeeper
CPAN shell
perl -MCPAN -e shell install ZooKeeper
For more information on module installation, please visit the detailed CPAN module installation guide.