mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-05 03:41:13 +03:00
Moved commit()/rollback() to transaction_termination_service interface.
This commit is contained in:
20
include/wsrep/applying_service.hpp
Normal file
20
include/wsrep/applying_service.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
//
|
||||
// Copyright (C) 2018 Codership Oy <info@codership.com>
|
||||
//
|
||||
|
||||
#ifndef WSREP_APPLYING_SERVICE_HPP
|
||||
#define WSREP_APPLYING_SERVICE_HPP
|
||||
|
||||
namespace wsrep
|
||||
{
|
||||
class applying_service
|
||||
{
|
||||
public:
|
||||
virtual int start_transaction();
|
||||
virtual int apply_write_set(const wsrep::const_buffer&) = 0;
|
||||
virtual int apply_toi(const wsrep::const_buffer&);
|
||||
virtual int apply_nbo(const wsrep::const_buffer&);
|
||||
};
|
||||
}
|
||||
|
||||
#endif // WSREP_APPLYING_SERVICE_HPP
|
Reference in New Issue
Block a user