|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.qi4j.entitystore.file.FileEntityStoreMixin
public class FileEntityStoreMixin
JDBM implementation of MapEntityStore
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.qi4j.entitystore.map.MapEntityStore |
---|
MapEntityStore.JSONKeys, MapEntityStore.MapChanger, MapEntityStore.MapChanges |
Constructor Summary | |
---|---|
FileEntityStoreMixin()
|
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 FileEntityStoreMixin()
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 passivatedpublic Reader get(EntityReference entityReference) throws EntityStoreException
get
in interface MapEntityStore
EntityStoreException
public void applyChanges(MapEntityStore.MapChanges changes) throws IOException
applyChanges
in interface MapEntityStore
IOException
public Input<String,IOException> backup()
BackupRestore
backup
in interface BackupRestore
public Output<String,IOException> restore()
BackupRestore
restore
in interface BackupRestore
public Input<Reader,IOException> entityStates()
entityStates
in interface MapEntityStore
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |