Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

Impala::Util::ChannelPool Class Reference

#include <ChannelPool.h>

Collaboration diagram for Impala::Util::ChannelPool:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 20 of file ChannelPool.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 13 09:24:10 2011 for ImpalaSrc by  doxygen 1.5.1