libfoedus-core
FOEDUS Core Library
|
Represents a record of special write-access during a transaction without any need for locking. More...
Represents a record of special write-access during a transaction without any need for locking.
Some storage type doesn't need locking for serializability (so far Sequential Storage only) For them, we maintain this write-set objects separated from WriteXctAccess. We don't lock/unlock for these records, and we don't even have to remember what we observed (actually, we don't even observe anything when we create this).
Definition at line 228 of file xct_access.hpp.
#include <xct_access.hpp>
Public Attributes | |
storage::StorageId | storage_id_ |
The storage we accessed. More... | |
log::RecordLogType * | log_entry_ |
Pointer to the log entry in private log buffer for this write opereation. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, const LockFreeWriteXctAccess &v) |
|
friend |
Definition at line 85 of file xct_access.cpp.
log::RecordLogType* foedus::xct::LockFreeWriteXctAccess::log_entry_ |
Pointer to the log entry in private log buffer for this write opereation.
Definition at line 235 of file xct_access.hpp.
Referenced by foedus::xct::Xct::add_to_lock_free_write_set(), foedus::xct::operator<<(), and foedus::xct::XctManagerPimpl::precommit_xct_apply().
storage::StorageId foedus::xct::LockFreeWriteXctAccess::storage_id_ |
The storage we accessed.
Definition at line 232 of file xct_access.hpp.
Referenced by foedus::xct::Xct::add_to_lock_free_write_set(), foedus::xct::operator<<(), and foedus::xct::XctManagerPimpl::precommit_xct_apply().