org.qi4j.entitystore.memory
Class MemoryMapEntityStoreMixin
java.lang.Object
org.qi4j.entitystore.memory.MemoryMapEntityStoreMixin
- All Implemented Interfaces:
- MapEntityStore, BackupRestore
public class MemoryMapEntityStoreMixin
- extends Object
- implements MapEntityStore, BackupRestore
In-memory implementation of MapEntityStore.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryMapEntityStoreMixin
public MemoryMapEntityStoreMixin()
contains
public boolean contains(EntityReference entityReference,
EntityType entityType)
throws EntityStoreException
- Throws:
EntityStoreException
get
public Reader get(EntityReference entityReference)
throws EntityStoreException
- Specified by:
get
in interface MapEntityStore
- Throws:
EntityStoreException
applyChanges
public void applyChanges(MapEntityStore.MapChanges changes)
throws IOException
- Specified by:
applyChanges
in interface MapEntityStore
- Throws:
IOException
entityStates
public Input<Reader,IOException> entityStates()
- Specified by:
entityStates
in interface MapEntityStore
backup
public Input<String,IOException> backup()
- Description copied from interface:
BackupRestore
- Input that allows data from the entity store to be backed up.
- Specified by:
backup
in interface BackupRestore
- Returns:
restore
public Output<String,IOException> restore()
- Description copied from interface:
BackupRestore
- Output that allows data to be restored from a backup.
- Specified by:
restore
in interface BackupRestore