public class FileEntityStoreMixin extends Object implements FileEntityStoreActivation, MapEntityStore, BackupRestore
FileEntityStoreActivation.ActivatorMapEntityStore.MapChange, MapEntityStore.MapChanger, MapEntityStore.MapChanges| Constructor and Description |
|---|
FileEntityStoreMixin() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyChanges(MapEntityStore.MapChanges changes) |
Stream<String> |
backup()
Backup entity states.
|
Stream<Reader> |
entityStates() |
Reader |
get(EntityReference entityReference) |
void |
initialize() |
void |
restore(Stream<String> stream)
Restore entity states.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrestorepublic void initialize()
throws Exception
initialize in interface FileEntityStoreActivationExceptionpublic Reader get(EntityReference entityReference) throws EntityStoreException
get in interface MapEntityStoreentityReference - The reference to the entity that we want to get.EntityStoreExceptionpublic void applyChanges(MapEntityStore.MapChanges changes) throws Exception
applyChanges in interface MapEntityStoreExceptionpublic Stream<Reader> entityStates()
entityStates in interface MapEntityStorepublic Stream<String> backup()
BackupRestorebackup in interface BackupRestorepublic void restore(Stream<String> stream)
BackupRestorerestore in interface BackupRestorestream - Stream of serialized entity states