SWC-DB
v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
Rangers.h
Go to the documentation of this file.
1
/*
2
* SWC-DB© Copyright since 2019 Alex Kashirin <kashirin.alex@gmail.com>
3
* License details at <https://github.com/kashirin-alex/swc-db/#license>
4
*/
5
6
#ifndef swcdb_db_client_rgr_Rangers_h
7
#define swcdb_db_client_rgr_Rangers_h
8
9
10
#include "
swcdb/db/client/service/rgr/ContextRanger.h
"
11
#include "
swcdb/db/client/service/rgr/Cache.h
"
12
#include "
swcdb/core/comm/ClientConnQueues.h
"
13
14
15
namespace
SWC
{
namespace
client {
16
17
18
19
class
Rangers
{
20
public
:
21
22
SWC_CAN_INLINE
23
Rangers
() noexcept :
queues
(
nullptr
),
cache
(
nullptr
) { }
24
25
Rangers
(
const
Config::Settings
& settings,
26
Comm::IoContextPtr
ioctx,
27
const
ContextRanger::Ptr
& rgr_ctx);
28
29
SWC_CAN_INLINE
30
~Rangers
() noexcept { }
31
32
const
Comm::client::ConnQueuesPtr
queues
;
33
CachedRangers
cache
;
34
35
};
36
37
38
39
}}
// namespace SWC::client
40
41
42
43
44
#ifdef SWC_IMPL_SOURCE
45
#include "
swcdb/db/client/service/rgr/Rangers.cc
"
46
#endif
47
48
49
#endif // swcdb_db_client_rgr_Rangers_h
SWC::client::Rangers::~Rangers
SWC_CAN_INLINE ~Rangers() noexcept
Definition:
Rangers.h:30
Rangers.cc
SWC::client::CachedRangers
Definition:
Cache.h:42
SWC::Comm::IoContextPtr
std::shared_ptr< IoContext > IoContextPtr
Definition:
IoContext.h:16
SWC::Comm::client::ConnQueuesPtr
std::shared_ptr< ConnQueues > ConnQueuesPtr
Definition:
ClientConnQueues.h:14
SWC::client::Rangers::queues
const Comm::client::ConnQueuesPtr queues
Definition:
Rangers.h:32
SWC_CAN_INLINE
#define SWC_CAN_INLINE
Definition:
Compat.h:102
SWC
The SWC-DB C++ namespace 'SWC'.
Definition:
main.cc:12
ContextRanger.h
SWC::client::Rangers::cache
CachedRangers cache
Definition:
Rangers.h:33
SWC::Config::Settings
Definition:
Settings.h:25
ClientConnQueues.h
Cache.h
SWC::client::ContextRanger::Ptr
std::shared_ptr< ContextRanger > Ptr
Definition:
ContextRanger.h:18
SWC::client::Rangers::Rangers
SWC_CAN_INLINE Rangers() noexcept
Definition:
Rangers.h:23
SWC::client::Rangers
Definition:
Rangers.h:19
include
swcdb
db
client
service
rgr
Rangers.h
Generated on Sat Jun 3 2023 18:00:06 for SWC-DB by
1.8.20