org.qi4j.spi.entitystore.helpers
Interface MapEntityStore

All Known Implementing Classes:
FileEntityStoreMixin, HazelcastEntityStoreMixin, JCloudsMapEntityStoreMixin, JdbmEntityStoreMixin, MemoryMapEntityStoreMixin, MongoMapEntityStoreMixin, RedisMapEntityStoreMixin, RiakHttpMapEntityStoreMixin, RiakProtobufMapEntityStoreMixin

public interface MapEntityStore

MapEntityStore.


Nested Class Summary
static class MapEntityStore.JSONKeys
          JSON keys for values in the stored data.
static interface MapEntityStore.MapChanger
          MapEntityStore changes applier.
static interface MapEntityStore.MapChanges
          Changes to be applied on a MapEntityStore.
 
Method Summary
 void applyChanges(MapEntityStore.MapChanges changes)
           
 Input<java.io.Reader,java.io.IOException> entityStates()
           
 java.io.Reader get(EntityReference entityReference)
           
 

Method Detail

get

java.io.Reader get(EntityReference entityReference)
                   throws EntityStoreException
Returns:
Entity state Reader
Throws:
EntityStoreException

entityStates

Input<java.io.Reader,java.io.IOException> entityStates()
Returns:
All entities state Readers

applyChanges

void applyChanges(MapEntityStore.MapChanges changes)
                  throws java.io.IOException
Throws:
java.io.IOException