libfoedus-core
FOEDUS Core Library
log_type_invoke.hpp File Reference
Include dependency graph for log_type_invoke.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 foedus
 Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
 
 foedus::log
 Log Manager, which writes out transactional logs.
 

Macros

#define X(a, b, c)
 
#define X(a, b, c)   case a: reinterpret_cast< c* >(buffer)->assert_valid(); return;
 

Functions

void foedus::log::invoke_apply_engine (void *log_buffer, thread::Thread *context)
 Invokes the apply logic for an engine-wide log type. More...
 
void foedus::log::invoke_apply_storage (void *log_buffer, Engine *engine, storage::StorageId id)
 Invokes the apply logic for a storage-wide log type. More...
 
void foedus::log::invoke_apply_record (void *log_buffer, thread::Thread *context, storage::StorageId storage_id, xct::RwLockableXctId *owner_id_address, char *payload_address)
 Invokes the apply logic for a record-wise log type. More...
 
void foedus::log::invoke_assert_valid (void *log_buffer)
 Invokes the assertion logic of each log type. More...
 
void foedus::log::invoke_ostream (const void *buffer, std::ostream *ptr)
 Invokes the ostream operator for the given log type defined in log_type.xmacro. More...
 

Macro Definition Documentation

#define X (   a,
  b,
 
)
Value:
case a: \
reinterpret_cast< c* >(buffer)->apply_record(context, storage_id, owner_id, payload); return;

Definition at line 110 of file log_type_invoke.hpp.

#define X (   a,
  b,
 
)    case a: reinterpret_cast< c* >(buffer)->assert_valid(); return;

Definition at line 110 of file log_type_invoke.hpp.