public class JdbmEntityStoreMixin extends Object implements JdbmEntityStoreActivation, MapEntityStore, BackupRestore
JdbmEntityStoreActivation.ActivatorMapEntityStore.MapChanger, MapEntityStore.MapChanges| Constructor and Description |
|---|
JdbmEntityStoreMixin() |
| 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) |
Output<String,IOException> |
restore()
Output that allows data to be restored from a backup.
|
void |
setUpJdbm() |
void |
tearDownJdbm() |
public void setUpJdbm()
throws Exception
setUpJdbm in interface JdbmEntityStoreActivationExceptionpublic void tearDownJdbm()
throws Exception
tearDownJdbm in interface JdbmEntityStoreActivationException@ReadLock public Reader get(EntityReference entityReference) throws EntityStoreException
get in interface MapEntityStoreentityReference - The reference to the entity that we want to get.EntityStoreException@WriteLock public void applyChanges(MapEntityStore.MapChanges changes) throws IOException
applyChanges in interface MapEntityStoreIOExceptionpublic Input<Reader,IOException> entityStates()
entityStates in interface MapEntityStorepublic Input<String,IOException> backup()
BackupRestorebackup in interface BackupRestorepublic Output<String,IOException> restore()
BackupRestorerestore in interface BackupRestore