#include <TableCache.h>
|
| TableCache (PropertiesPtr &, RangeLocatorPtr &, ConnectionManagerPtr &, Hyperspace::SessionPtr &, ApplicationQueueInterfacePtr &, NameIdMapperPtr &namemap, uint32_t default_timeout_ms) |
|
virtual | ~TableCache () |
|
TablePtr | get (const std::string &table_name, int32_t flags) |
|
TablePtr | get_unlocked (const std::string &table_name, int32_t flags) |
|
bool | get_schema_str (const std::string &table_name, std::string &output_schema, bool with_ids=false) |
|
bool | get_schema (const std::string &table_name, SchemaPtr &output_schema) |
|
bool | remove (const std::string &table_name) |
|
void | lock () |
|
void | unlock () |
|
Definition at line 39 of file TableCache.h.
TableCache::~TableCache |
( |
| ) |
|
|
virtual |
virtual void Hypertable::TableCache::disconnected |
( |
| ) |
|
|
inlineprivatevirtual |
virtual void Hypertable::TableCache::expired |
( |
| ) |
|
|
inlineprivatevirtual |
TablePtr TableCache::get |
( |
const std::string & |
table_name, |
|
|
int32_t |
flags |
|
) |
| |
bool TableCache::get_schema |
( |
const std::string & |
table_name, |
|
|
SchemaPtr & |
output_schema |
|
) |
| |
- Parameters
-
table_name | Name of table |
output_schema | Schema object |
- Returns
- false if table_name is not in cache
Definition at line 82 of file TableCache.cc.
bool TableCache::get_schema_str |
( |
const std::string & |
table_name, |
|
|
std::string & |
output_schema, |
|
|
bool |
with_ids = false |
|
) |
| |
- Parameters
-
table_name | Name of table |
output_schema | string representation of Schema object |
with_ids | if true return CF ids |
- Returns
- false if table_name is not in cache
Definition at line 71 of file TableCache.cc.
TablePtr TableCache::get_unlocked |
( |
const std::string & |
table_name, |
|
|
int32_t |
flags |
|
) |
| |
virtual void Hypertable::TableCache::jeopardy |
( |
| ) |
|
|
inlineprivatevirtual |
void Hypertable::TableCache::lock |
( |
| ) |
|
|
inline |
void TableCache::reconnected |
( |
| ) |
|
|
privatevirtual |
bool TableCache::remove |
( |
const std::string & |
table_name | ) |
|
- Parameters
-
- Returns
- false if entry is not in cache
Definition at line 92 of file TableCache.cc.
virtual void Hypertable::TableCache::safe |
( |
| ) |
|
|
inlineprivatevirtual |
void Hypertable::TableCache::unlock |
( |
| ) |
|
|
inline |
Comm* Hypertable::TableCache::m_comm |
|
private |
std::mutex Hypertable::TableCache::m_mutex |
|
private |
TableMap Hypertable::TableCache::m_table_map |
|
private |
uint32_t Hypertable::TableCache::m_timeout_ms |
|
private |
The documentation for this class was generated from the following files: