org.qi4j.entitystore.voldemort
Class VoldemortEntityStoreMixin

java.lang.Object
  extended by org.qi4j.entitystore.voldemort.VoldemortEntityStoreMixin
All Implemented Interfaces:
Activatable, MapEntityStore

public class VoldemortEntityStoreMixin
extends Object
implements Activatable, MapEntityStore

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
VoldemortEntityStoreMixin()
           
 
Method Summary
 void activate()
          This is invoked on the service when the instance is being activated
 void applyChanges(MapEntityStore.MapChanges changes)
           
 Input<Reader,IOException> entityStates()
           
 Reader get(EntityReference entityReference)
           
 void passivate()
          This is invoked on the service when the instance is being passivated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoldemortEntityStoreMixin

public VoldemortEntityStoreMixin()
Method Detail

activate

public void activate()
              throws Exception
Description copied from interface: Activatable
This is invoked on the service when the instance is being activated

Specified by:
activate in interface Activatable
Throws:
Exception - if service could not be activated

passivate

public void passivate()
               throws Exception
Description copied from interface: Activatable
This is invoked on the service when the instance is being passivated

Specified by:
passivate in interface Activatable
Throws:
Exception - if the service could not be passivated

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