2013-09-12 17:03:32 +05:30
|
|
|
#ifndef CACHE_RESTORE_EMITTER_H
|
|
|
|
#define CACHE_RESTORE_EMITTER_H
|
|
|
|
|
|
|
|
#include "emitter.h"
|
|
|
|
#include "metadata.h"
|
|
|
|
|
|
|
|
//----------------------------------------------------------------
|
|
|
|
|
|
|
|
namespace caching {
|
2017-08-29 17:03:32 +05:30
|
|
|
|
|
|
|
enum shutdown_type {
|
|
|
|
CLEAN_SHUTDOWN,
|
|
|
|
NO_CLEAN_SHUTDOWN
|
|
|
|
};
|
|
|
|
|
2016-09-30 20:51:20 +05:30
|
|
|
emitter::ptr create_restore_emitter(metadata::ptr md,
|
|
|
|
unsigned metadata_version,
|
2017-08-29 17:03:32 +05:30
|
|
|
shutdown_type st = CLEAN_SHUTDOWN);
|
2013-09-12 17:03:32 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------
|
|
|
|
|
|
|
|
#endif
|