enum transaction_status: sys::u8
  • start =1
  • end =2
class sbn::transaction_kernel
Base classes
Types
Methods
  • transactions(transaction_log * rhs) -> void
  • records(record_array && rhs) -> void
  • act() -> voidvirtual

    Performs the task or launches subordinate kernels to do so.

class sbn::transaction_log
Types
  • using time_point = clock_type::time_point
  • using duration = clock_type::duration
  • using clock_type = std::chrono::system_clock
  • using record_array = std::vector< transaction_record >
  • using pipeline_array = std::vector< pipeline * >
Classes
  • class sbn::transaction_log::sentry
Structs
  • struct sbn::transaction_log::properties
Methods
  • plug_parents(record_array & records) -> void
  • write(std::ostream & out) const -> void
  • recover_after() const -> duration
  • recover_after(duration rhs) -> void
  • guard() const -> sentry
  • guard() -> sentry
  • actual_records(std::size_t rhs) -> void
  • actual_records() const -> std::size_t
  • max_records(std::size_t rhs) -> void
  • max_records() const -> std::size_t
  • types(kernel_type_registry * rhs) -> void
  • timer_pipeline(pipeline * rhs) -> void
  • pipelines() const -> const pipeline_array &
  • pipelines(pipeline_array && rhs) -> void
  • pipelines(const pipeline_array & rhs) -> void
  • recover(record_array & records) -> void
  • select(application::id_type id) -> record_array
  • close() -> void
  • flush() -> void
  • open(const char * filename) -> void
  • write(transaction_record record) -> kernel_ptr
  • operator=(transaction_log &&) -> transaction_log &
  • transaction_log(transaction_log &&)
  • operator=(const transaction_log &) -> transaction_log &
  • transaction_log(const transaction_log &)
  • ~transaction_log()
  • transaction_log()
struct sbn::transaction_record
Fields
  • kernel_ptr k
  • pipeline::index_type pipeline_index
  • transaction_status status
Methods
  • transaction_record(transaction_status s, pipeline::index_type i, kernel_ptr && kk)
  • transaction_record()
operator<<(std::ostream & out, const transaction_log & rhs) -> std::ostream &
operator<<(kernel_buffer & out, transaction_status rhs) -> kernel_buffer &
operator>>(kernel_buffer & in, transaction_record & rhs) -> kernel_buffer &
operator<<(kernel_buffer & out, const transaction_record & rhs) -> kernel_buffer &