0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
Hypertable::ConnectionManager::SharedImpl Class Reference

Connection manager state shared between Connection manager objects. More...

Collaboration diagram for Hypertable::ConnectionManager::SharedImpl:
Collaboration graph
[legend]

Public Member Functions

 ~SharedImpl ()
 Destructor. More...
 

Public Attributes

Commcomm
 Pointer to Comm layer. More...
 
std::mutex mutex
 Mutex to serialize concurrent access. More...
 
std::condition_variable retry_cond
 Condition variable to signal if anything is on the retry heap. More...
 
std::thread thread
 Pointer to connection manager thread object. More...
 
SockAddrMap< ConnectionStatePtrconn_map
 InetAddr-to-ConnectionState map. More...
 
std::unordered_map< String,
ConnectionStatePtr
conn_map_proxy
 Proxy-to-ConnectionState map. More...
 
std::priority_queue
< ConnectionStatePtr,
std::vector
< ConnectionStatePtr >
, LtConnectionState
retry_queue
 Connect retry heap. More...
 
bool quiet_mode
 Set to true to prevent connect failure log message. More...
 
bool shutdown
 Set to true to signal shutdown in progress. More...
 

Detailed Description

Connection manager state shared between Connection manager objects.

Definition at line 110 of file ConnectionManager.h.

Constructor & Destructor Documentation

Hypertable::ConnectionManager::SharedImpl::~SharedImpl ( )
inline

Destructor.

Definition at line 115 of file ConnectionManager.h.

Member Data Documentation

Comm* Hypertable::ConnectionManager::SharedImpl::comm

Pointer to Comm layer.

Definition at line 123 of file ConnectionManager.h.

SockAddrMap<ConnectionStatePtr> Hypertable::ConnectionManager::SharedImpl::conn_map

InetAddr-to-ConnectionState map.

Definition at line 131 of file ConnectionManager.h.

std::unordered_map<String, ConnectionStatePtr> Hypertable::ConnectionManager::SharedImpl::conn_map_proxy

Proxy-to-ConnectionState map.

Definition at line 133 of file ConnectionManager.h.

std::mutex Hypertable::ConnectionManager::SharedImpl::mutex

Mutex to serialize concurrent access.

Definition at line 125 of file ConnectionManager.h.

bool Hypertable::ConnectionManager::SharedImpl::quiet_mode

Set to true to prevent connect failure log message.

Definition at line 138 of file ConnectionManager.h.

std::condition_variable Hypertable::ConnectionManager::SharedImpl::retry_cond

Condition variable to signal if anything is on the retry heap.

Definition at line 127 of file ConnectionManager.h.

std::priority_queue<ConnectionStatePtr, std::vector<ConnectionStatePtr>, LtConnectionState> Hypertable::ConnectionManager::SharedImpl::retry_queue

Connect retry heap.

Definition at line 136 of file ConnectionManager.h.

bool Hypertable::ConnectionManager::SharedImpl::shutdown

Set to true to signal shutdown in progress.

Definition at line 140 of file ConnectionManager.h.

std::thread Hypertable::ConnectionManager::SharedImpl::thread

Pointer to connection manager thread object.

Definition at line 129 of file ConnectionManager.h.


The documentation for this class was generated from the following file: