Connection manager state shared between Connection manager objects. More...
Public Member Functions | |
~SharedImpl () | |
Destructor. More... | |
Public Attributes | |
Comm * | comm |
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< ConnectionStatePtr > | conn_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... | |
Connection manager state shared between Connection manager objects.
Definition at line 110 of file ConnectionManager.h.
|
inline |
Destructor.
Definition at line 115 of file ConnectionManager.h.
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.