|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qi4j.entitystore.jdbm.JdbmEntityStoreMixin
public class JdbmEntityStoreMixin
JDBM implementation of SerializationStore
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.qi4j.entitystore.map.MapEntityStore |
---|
MapEntityStore.JSONKeys, MapEntityStore.MapChanger, MapEntityStore.MapChanges |
Constructor Summary | |
---|---|
JdbmEntityStoreMixin()
|
Method Summary | |
---|---|
void |
activate()
This is invoked on the service when the instance is being activated |
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 |
passivate()
This is invoked on the service when the instance is being passivated |
Output<String,IOException> |
restore()
Output that allows data to be restored from a backup. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JdbmEntityStoreMixin()
Method Detail |
---|
public void activate() throws Exception
Activatable
activate
in interface Activatable
Exception
- if service could not be activatedpublic void passivate() throws Exception
Activatable
passivate
in interface Activatable
Exception
- if the service could not be passivated@ReadLock public Reader get(EntityReference entityReference) throws EntityStoreException
get
in interface MapEntityStore
EntityStoreException
@WriteLock 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |