public class FileEntityStoreMixin extends Object implements FileEntityStoreActivation, MapEntityStore, BackupRestore
FileEntityStoreActivation.Activator
MapEntityStore.MapChanger, MapEntityStore.MapChanges
Constructor and Description |
---|
FileEntityStoreMixin() |
Modifier and Type | Method and Description |
---|---|
void |
applyChanges(MapEntityStore.MapChanges changes) |
Input<String,IOException> |
backup()
Input that allows data from the entity store to be backed up.
|
Input<Reader,IOException> |
entityStates() |
Reader |
get(EntityReference entityReference) |
void |
initialize() |
Output<String,IOException> |
restore()
Output that allows data to be restored from a backup.
|
public void initialize() throws Exception
initialize
in interface FileEntityStoreActivation
Exception
public Reader get(EntityReference entityReference) throws EntityStoreException
get
in interface MapEntityStore
entityReference
- The reference to the entity that we want to get.EntityStoreException
public void applyChanges(MapEntityStore.MapChanges changes) throws IOException
applyChanges
in interface MapEntityStore
IOException
public Input<String,IOException> backup()
BackupRestore
backup
in interface BackupRestore
public Output<String,IOException> restore()
BackupRestore
restore
in interface BackupRestore
public Input<Reader,IOException> entityStates()
entityStates
in interface MapEntityStore