#include <ChannelPool.h>
Collaboration diagram for Impala::Util::ChannelPool:
Public Member Functions | |
~ChannelPool () | |
Channel * | Get (CString socketName, CString passwordFile) |
Channel * | Get (CString serverName, int port, CString passwordFile) |
void | Remove (CString serverName, int port) |
void | Dump () const |
Static Public Member Functions | |
static ChannelPool & | Instance () |
Private Types | |
typedef Cache< String, Channel * > | ChannelCache |
Private Member Functions | |
ChannelPool () | |
ChannelPool (const ChannelPool &) | |
ChannelPool & | operator= (const ChannelPool &) |
Channel * | Get (CString serverName, int port, CString socketName, CString passwordFile) |
Private Attributes | |
ChannelCache * | mCache |
ILOG_VAR_DEC | |
Static Private Attributes | |
static const int | CACHE_SIZE = 100 |
Definition at line 20 of file ChannelPool.h.