#include <NamespaceCache.h>
Public Member Functions | |
NamespaceCache (PropertiesPtr &props, RangeLocatorPtr &range_locator, ConnectionManagerPtr &conn_manager, Hyperspace::SessionPtr &hyperspace, ApplicationQueueInterfacePtr &app_queue, NameIdMapperPtr &namemap, Lib::Master::ClientPtr &master_client, TableCachePtr &table_cache, uint32_t default_timeout_ms, Client *client) | |
NamespacePtr | get (const std::string &name) |
bool | remove (const std::string &name) |
Private Types | |
typedef std::unordered_map < String, NamespacePtr > | NamespaceMap |
Definition at line 42 of file NamespaceCache.h.
|
private |
Definition at line 64 of file NamespaceCache.h.
NamespaceCache::NamespaceCache | ( | PropertiesPtr & | props, |
RangeLocatorPtr & | range_locator, | ||
ConnectionManagerPtr & | conn_manager, | ||
Hyperspace::SessionPtr & | hyperspace, | ||
ApplicationQueueInterfacePtr & | app_queue, | ||
NameIdMapperPtr & | namemap, | ||
Lib::Master::ClientPtr & | master_client, | ||
TableCachePtr & | table_cache, | ||
uint32_t | default_timeout_ms, | ||
Client * | client | ||
) |
Definition at line 28 of file NamespaceCache.cc.
NamespacePtr NamespaceCache::get | ( | const std::string & | name | ) |
name | namespace name |
Definition at line 41 of file NamespaceCache.cc.
bool NamespaceCache::remove | ( | const std::string & | name | ) |
name |
Definition at line 63 of file NamespaceCache.cc.
|
private |
Definition at line 71 of file NamespaceCache.h.
|
private |
Definition at line 78 of file NamespaceCache.h.
|
private |
Definition at line 68 of file NamespaceCache.h.
|
private |
Definition at line 69 of file NamespaceCache.h.
|
private |
Definition at line 70 of file NamespaceCache.h.
|
private |
Definition at line 73 of file NamespaceCache.h.
|
private |
Definition at line 76 of file NamespaceCache.h.
|
private |
Definition at line 72 of file NamespaceCache.h.
|
private |
Definition at line 77 of file NamespaceCache.h.
|
private |
Definition at line 66 of file NamespaceCache.h.
|
private |
Definition at line 67 of file NamespaceCache.h.
|
private |
Definition at line 74 of file NamespaceCache.h.
|
private |
Definition at line 75 of file NamespaceCache.h.