Zero  0.1.0
Public Member Functions | Public Attributes | List of all members
partition_recycler_t Class Reference
Inheritance diagram for partition_recycler_t:
thread_wrapper_t

Public Member Functions

 partition_recycler_t (log_storage *storage)
 
virtual ~partition_recycler_t ()
 
void run ()
 
void wakeup (bool chkpt_only=false)
 
- Public Member Functions inherited from thread_wrapper_t
 thread_wrapper_t ()
 
virtual ~thread_wrapper_t ()
 
virtual void before_run ()
 
virtual void after_run ()
 
void spawn ()
 
void fork ()
 
void join ()
 

Public Attributes

log_storagestorage
 
bool chkpt_only
 
std::atomic< bool > retire
 
std::condition_variable _recycler_condvar
 
std::mutex _recycler_mutex
 

Constructor & Destructor Documentation

§ partition_recycler_t()

partition_recycler_t::partition_recycler_t ( log_storage storage)
inline

§ ~partition_recycler_t()

virtual partition_recycler_t::~partition_recycler_t ( )
inlinevirtual

Member Function Documentation

§ run()

void partition_recycler_t::run ( )
inlinevirtual

Implements thread_wrapper_t.

§ wakeup()

void partition_recycler_t::wakeup ( bool  chkpt_only = false)
inline

Member Data Documentation

§ _recycler_condvar

std::condition_variable partition_recycler_t::_recycler_condvar

§ _recycler_mutex

std::mutex partition_recycler_t::_recycler_mutex

§ chkpt_only

bool partition_recycler_t::chkpt_only

§ retire

std::atomic<bool> partition_recycler_t::retire

§ storage

log_storage* partition_recycler_t::storage

The documentation for this class was generated from the following file: