|
SWC-DB
v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
|
Go to the documentation of this file.
6 #ifndef swcdb_db_client_rgr_Cache_h
7 #define swcdb_db_client_rgr_Cache_h
17 namespace SWC {
namespace client {
27 :
ts(other.ts),
endpoints(std::move(other.endpoints)) {
41 :
private std::unordered_map<
42 cid_t, std::unordered_map<rid_t, RangeEndPoints>> {
44 typedef std::unordered_map<
45 cid_t, std::unordered_map<rid_t, RangeEndPoints>>
Map;
83 #ifdef SWC_IMPL_SOURCE
87 #endif // swcdb_db_client_rgr_Cache_h
CachedRangers & operator=(const CachedRangers &)=delete
Comm::EndPoints endpoints
SWC_CAN_INLINE ~RangeEndPoints() noexcept
CachedRangers(const CachedRangers &)=delete
void remove(const cid_t cid, const rid_t rid)
void set(const cid_t cid, const rid_t rid, const Comm::EndPoints &endpoints)
SWC_CAN_INLINE RangeEndPoints & operator=(RangeEndPoints &&other) noexcept
std::unordered_map< cid_t, std::unordered_map< rid_t, RangeEndPoints > > Map
SWC_CAN_INLINE RangeEndPoints(RangeEndPoints &&other) noexcept
The SWC-DB C++ namespace 'SWC'.
Config::Property::Value_int32_g::Ptr m_expiry_ms
SWC_CAN_INLINE RangeEndPoints() noexcept
SWC_CAN_INLINE ~CachedRangers() noexcept
SWC_CAN_INLINE CachedRangers(const Config::Property::Value_int32_g::Ptr expiry_ms) noexcept
bool get(const cid_t cid, const rid_t rid, Comm::EndPoints &endpoints)