public class MemoryMapEntityStoreMixin extends Object implements MapEntityStore, BackupRestore, MapEntityStoreActivation
MapEntityStore.MapChanger, MapEntityStore.MapChanges
MapEntityStoreActivation.Activator
Constructor and Description |
---|
MemoryMapEntityStoreMixin() |
Modifier and Type | Method and Description |
---|---|
void |
activateMapEntityStore() |
void |
applyChanges(MapEntityStore.MapChanges changes) |
Input<String,IOException> |
backup()
Input that allows data from the entity store to be backed up.
|
boolean |
contains(EntityReference entityReference,
EntityDescriptor descriptor) |
Input<Reader,IOException> |
entityStates() |
Reader |
get(EntityReference entityReference) |
Output<String,IOException> |
restore()
Output that allows data to be restored from a backup.
|
public void activateMapEntityStore() throws Exception
activateMapEntityStore
in interface MapEntityStoreActivation
Exception
public boolean contains(EntityReference entityReference, EntityDescriptor descriptor) throws EntityStoreException
EntityStoreException
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<Reader,IOException> entityStates()
entityStates
in interface MapEntityStore
public Input<String,IOException> backup()
BackupRestore
backup
in interface BackupRestore
public Output<String,IOException> restore()
BackupRestore
restore
in interface BackupRestore