Skip to content
Snippets Groups Projects
Commit 2a8ab548 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Remove dead engine API.

parent ae6244ad
No related branches found
No related tags found
No related merge requests found
......@@ -47,12 +47,6 @@ EngineFactory::EngineFactory(const char *engine_name)
void EngineFactory::init()
{}
void EngineFactory::recover()
{}
void EngineFactory::shutdown()
{}
void EngineFactory::begin(struct txn*, struct space*)
{}
......@@ -97,7 +91,6 @@ void engine_shutdown()
{
EngineFactory *e, *tmp;
rlist_foreach_entry_safe(e, &engines, link, tmp) {
e->shutdown();
delete e;
}
}
......
......@@ -117,10 +117,6 @@ class EngineFactory: public Object {
virtual void init();
/** Create a new engine instance for a space. */
virtual Engine *open() = 0;
/** Called at server shutdown. */
virtual void shutdown();
/** Recover engine, called once at startup. */
virtual void recover();
/* Inform engine about a recovery stage change. */
virtual void recoveryEvent(enum engine_recovery_event);
/**
......@@ -144,6 +140,7 @@ class EngineFactory: public Object {
virtual void commit(struct txn*);
virtual void rollback(struct txn*);
virtual void set_snapshot_lsn(int64_t lsn) = 0;
/**
* Engine snapshotting support.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment