#include <config_cassandra_client.h>
|
| virtual bool | ReadObjUUIDTable (const std::set< std::string > &uuid_list) |
| |
| bool | ProcessObjUUIDTableEntry (const std::string &uuid_key, const GenDb::ColList &col_list) |
| |
| virtual void | ParseObjUUIDTableEntry (const std::string &uuid, const GenDb::ColList &col_list, CassColumnKVVec *cass_data_vec, ConfigCassandraParseContext &context) |
| |
| void | ParseObjUUIDTableEachColumnBuildContext (const std::string &uuid, const std::string &key, const std::string &value, uint64_t timestamp, CassColumnKVVec *cass_data_vec, ConfigCassandraParseContext &context) |
| |
| virtual void | HandleObjectDelete (const string &uuid, bool add_change) |
| |
| ConfigCassandraClient * | client () |
| |
Definition at line 36 of file config_cassandra_client.h.
◆ FieldDetailMap
◆ ObjectCacheMap
◆ ObjProcessWorkQType
◆ UUIDProcessSet
◆ ConfigCassandraPartition()
◆ ~ConfigCassandraPartition()
| ConfigCassandraPartition::~ConfigCassandraPartition |
( |
| ) |
|
|
virtual |
◆ AddUUIDToRequestList()
| void ConfigCassandraPartition::AddUUIDToRequestList |
( |
const std::string & |
oper, |
|
|
const std::string & |
obj_type, |
|
|
const std::string & |
uuid_str |
|
) |
| |
|
private |
◆ client()
◆ ConfigReader()
| bool ConfigCassandraPartition::ConfigReader |
( |
| ) |
|
|
private |
◆ DeleteCacheMap()
| void ConfigCassandraPartition::DeleteCacheMap |
( |
const std::string & |
uuid | ) |
|
|
inline |
◆ Enqueue()
◆ FillUUIDToObjCacheInfo()
| void ConfigCassandraPartition::FillUUIDToObjCacheInfo |
( |
const std::string & |
uuid, |
|
|
ObjectCacheMap::const_iterator |
uuid_iter, |
|
|
ConfigDBUUIDCacheEntry * |
entry |
|
) |
| const |
|
private |
◆ GenerateAndPushJson()
| void ConfigCassandraPartition::GenerateAndPushJson |
( |
const string & |
uuid_key, |
|
|
const string & |
obj_type, |
|
|
const CassColumnKVVec & |
cass_data_vec, |
|
|
bool |
add_change |
|
) |
| |
|
privatevirtual |
◆ GetInstanceId()
| int ConfigCassandraPartition::GetInstanceId |
( |
| ) |
const |
|
inline |
◆ GetObjCacheEntry() [1/2]
| ObjCacheEntry* ConfigCassandraPartition::GetObjCacheEntry |
( |
const std::string & |
uuid | ) |
|
◆ GetObjCacheEntry() [2/2]
| const ObjCacheEntry* ConfigCassandraPartition::GetObjCacheEntry |
( |
const std::string & |
uuid | ) |
const |
◆ HandleObjectDelete()
| void ConfigCassandraPartition::HandleObjectDelete |
( |
const string & |
uuid, |
|
|
bool |
add_change |
|
) |
| |
|
protectedvirtual |
◆ ioservice()
| boost::asio::io_context * ConfigCassandraPartition::ioservice |
( |
| ) |
|
◆ IsListOrMapPropEmpty()
| bool ConfigCassandraPartition::IsListOrMapPropEmpty |
( |
const string & |
uuid_key, |
|
|
const string & |
lookup_key |
|
) |
| |
◆ IsTaskTriggered()
| bool ConfigCassandraPartition::IsTaskTriggered |
( |
| ) |
const |
◆ ListMapPropReviseUpdateList()
◆ MarkCacheDirty()
◆ obj_process_queue()
◆ ParseObjUUIDTableEachColumnBuildContext()
| void ConfigCassandraPartition::ParseObjUUIDTableEachColumnBuildContext |
( |
const std::string & |
uuid, |
|
|
const std::string & |
key, |
|
|
const std::string & |
value, |
|
|
uint64_t |
timestamp, |
|
|
CassColumnKVVec * |
cass_data_vec, |
|
|
ConfigCassandraParseContext & |
context |
|
) |
| |
|
protected |
◆ ParseObjUUIDTableEntry()
◆ ProcessObjUUIDTableEntry()
| bool ConfigCassandraPartition::ProcessObjUUIDTableEntry |
( |
const std::string & |
uuid_key, |
|
|
const GenDb::ColList & |
col_list |
|
) |
| |
|
protected |
◆ ReadObjUUIDTable()
| bool ConfigCassandraPartition::ReadObjUUIDTable |
( |
const std::set< std::string > & |
uuid_list | ) |
|
|
protectedvirtual |
◆ RemoveObjReqEntries()
| void ConfigCassandraPartition::RemoveObjReqEntries |
( |
std::set< std::string > & |
req_list | ) |
|
|
private |
◆ RemoveObjReqEntry()
| void ConfigCassandraPartition::RemoveObjReqEntry |
( |
std::string & |
uuid | ) |
|
|
private |
◆ RequestHandler()
◆ StoreKeyIfUpdated()
◆ UUIDRetryTimeInMSec()
| int ConfigCassandraPartition::UUIDRetryTimeInMSec |
( |
const ObjCacheEntry * |
obj | ) |
const |
|
virtual |
◆ UUIDToObjCacheShow()
| bool ConfigCassandraPartition::UUIDToObjCacheShow |
( |
const std::string & |
search_string, |
|
|
const std::string & |
last_uuid, |
|
|
uint32_t |
num_entries, |
|
|
std::vector< ConfigDBUUIDCacheEntry > * |
entries |
|
) |
| const |
◆ ConfigCassandraClient
◆ config_client_
◆ config_reader_
| boost::shared_ptr<TaskTrigger> ConfigCassandraPartition::config_reader_ |
|
private |
◆ kMaxUUIDRetryTimePowOfTwo
| const uint32_t ConfigCassandraPartition::kMaxUUIDRetryTimePowOfTwo = 20 |
|
static |
◆ kMinUUIDRetryTimeMSec
| const uint32_t ConfigCassandraPartition::kMinUUIDRetryTimeMSec = 100 |
|
static |
◆ obj_process_queue_
◆ object_cache_map_
◆ uuid_read_set_
◆ worker_id_
| int ConfigCassandraPartition::worker_id_ |
|
private |
The documentation for this class was generated from the following files: