SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger Struct Referencefinal

#include <swcdb/db/Protocol/Mngr/params/Report.h>

+ Collaboration diagram for SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger:

Public Member Functions

SWC_CAN_INLINE Ranger () noexcept
 
SWC_CAN_INLINE Ranger (const uint8_t **bufp, size_t *remainp)
 
 Ranger (Ranger &&) noexcept=default
 
Rangeroperator= (Ranger &&) noexcept=default
 
 Ranger (const Ranger &)=delete
 
Rangeroperator= (const Ranger &)=delete
 
SWC_CAN_INLINE ~Ranger () noexcept
 
size_t SWC_PURE_FUNC encoded_length () const
 
void encode (uint8_t **bufp) const
 
void decode (const uint8_t **bufp, size_t *remainp)
 
void display (std::ostream &out, const std::string &offset) const
 

Public Attributes

EndPoints endpoints
 
uint8_t state
 
rgrid_t rgr_id
 
int32_t failures
 
uint64_t interm_ranges
 
uint16_t load_scale
 
uint8_t rebalance
 

Detailed Description

Definition at line 122 of file Report.h.

Constructor & Destructor Documentation

◆ Ranger() [1/4]

SWC_CAN_INLINE SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::Ranger ( )
inlinenoexcept

Definition at line 133 of file Report.h.

◆ Ranger() [2/4]

SWC_CAN_INLINE SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::Ranger ( const uint8_t **  bufp,
size_t *  remainp 
)
inline

Definition at line 139 of file Report.h.

References decode().

+ Here is the call graph for this function:

◆ Ranger() [3/4]

SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::Ranger ( Ranger &&  )
defaultnoexcept

◆ Ranger() [4/4]

SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::Ranger ( const Ranger )
delete

◆ ~Ranger()

SWC_CAN_INLINE SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::~Ranger ( )
inlinenoexcept

Definition at line 152 of file Report.h.

Member Function Documentation

◆ decode()

void SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::decode ( const uint8_t **  bufp,
size_t *  remainp 
)

Definition at line 123 of file Report.cc.

References SWC::Serialization::decode(), SWC::Serialization::decode_i16(), SWC::Serialization::decode_i8(), SWC::Serialization::decode_vi32(), SWC::Serialization::decode_vi64(), and SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::state.

Referenced by Ranger().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ display()

void SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::display ( std::ostream &  out,
const std::string &  offset 
) const

Definition at line 133 of file Report.cc.

References SWC::Comm::print(), SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::state, and SWC::DB::Types::MngrRangerState::to_string().

+ Here is the call graph for this function:

◆ encode()

void SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::encode ( uint8_t **  bufp) const

Definition at line 113 of file Report.cc.

References SWC::Serialization::encode(), SWC::Serialization::encode_i16(), SWC::Serialization::encode_i8(), SWC::Serialization::encode_vi32(), SWC::Serialization::encode_vi64(), and SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::state.

+ Here is the call graph for this function:

◆ encoded_length()

size_t SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::encoded_length ( ) const

Definition at line 104 of file Report.cc.

References SWC::Serialization::encoded_length(), SWC::Serialization::encoded_length_vi32(), and SWC::Serialization::encoded_length_vi64().

+ Here is the call graph for this function:

◆ operator=() [1/2]

Ranger& SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::operator= ( const Ranger )
delete

◆ operator=() [2/2]

Ranger& SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::operator= ( Ranger &&  )
defaultnoexcept

Member Data Documentation

◆ endpoints

EndPoints SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::endpoints

Definition at line 124 of file Report.h.

◆ failures

int32_t SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::failures

Definition at line 127 of file Report.h.

◆ interm_ranges

uint64_t SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::interm_ranges

Definition at line 128 of file Report.h.

◆ load_scale

uint16_t SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::load_scale

Definition at line 129 of file Report.h.

◆ rebalance

uint8_t SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::rebalance

Definition at line 130 of file Report.h.

◆ rgr_id

rgrid_t SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::rgr_id

Definition at line 126 of file Report.h.

◆ state

uint8_t SWC::Comm::Protocol::Mngr::Params::Report::RspRangersStatus::Ranger::state

Definition at line 125 of file Report.h.


The documentation for this struct was generated from the following files: