CUBRID Engine  latest
cubload::load_task Class Reference
Inheritance diagram for cubload::load_task:
Inheritance graph
Collaboration diagram for cubload::load_task:
Collaboration graph

Public Member Functions

 load_task ()=delete
 
 ~load_task () override
 
 load_task (const batch &batch, session &session, css_conn_entry &conn_entry)
 
void execute (cubthread::entry &thread_ref) final
 
- Public Member Functions inherited from cubthread::task< Context >
 task (void)=default
 
virtual ~task (void)=default
 
virtual void execute (context_type &)=0
 
virtual void retire (void)
 

Private Member Functions

void notify_done ()
 
void notify_done_and_tran_end (int tran_index)
 

Private Attributes

const batchm_batch
 
sessionm_session
 
css_conn_entrym_conn_entry
 
bool m_was_session_notified
 

Additional Inherited Members

- Public Types inherited from cubthread::task< Context >
using context_type = Context
 

Detailed Description

Definition at line 95 of file load_session.cpp.

Constructor & Destructor Documentation

cubload::load_task::load_task ( )
delete
cubload::load_task::~load_task ( )
inlineoverride

Definition at line 100 of file load_session.cpp.

References m_batch, m_was_session_notified, and notify_done().

cubload::load_task::load_task ( const batch batch,
session session,
css_conn_entry conn_entry 
)
inline

Definition at line 109 of file load_session.cpp.

Member Function Documentation

void cubload::load_task::notify_done ( )
inlineprivate

Definition at line 212 of file load_session.cpp.

References assert, cubload::batch::get_id(), m_batch, m_session, m_was_session_notified, and cubload::session::notify_batch_done().

Referenced by execute(), and ~load_task().

Here is the caller graph for this function:

void cubload::load_task::notify_done_and_tran_end ( int  tran_index)
inlineprivate

Definition at line 219 of file load_session.cpp.

References assert, cubload::batch::get_id(), m_batch, m_session, m_was_session_notified, and cubload::session::notify_batch_done_and_register_tran_end().

Referenced by execute().

Here is the caller graph for this function:

Member Data Documentation

const batch& cubload::load_task::m_batch
private

Definition at line 226 of file load_session.cpp.

Referenced by execute(), notify_done(), notify_done_and_tran_end(), and ~load_task().

css_conn_entry& cubload::load_task::m_conn_entry
private

Definition at line 228 of file load_session.cpp.

Referenced by execute().

session& cubload::load_task::m_session
private

Definition at line 227 of file load_session.cpp.

Referenced by execute(), notify_done(), and notify_done_and_tran_end().

bool cubload::load_task::m_was_session_notified
private

Definition at line 229 of file load_session.cpp.

Referenced by notify_done(), notify_done_and_tran_end(), and ~load_task().


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