org.qi4j.entitystore.hazelcast
Class HazelcastEntityStoreMixin
java.lang.Object
org.qi4j.entitystore.map.MapEntityStoreMixin
org.qi4j.entitystore.hazelcast.HazelcastEntityStoreMixin
- All Implemented Interfaces:
- Composite, Configuration, Identity, Activatable, ServiceComposite, HazelcastEntityStoreService, MapEntityStore, StateStore, LockingAbstractComposite, EntityStateVersions, EntityStore, EntityStoreSPI
public abstract class HazelcastEntityStoreMixin
- extends MapEntityStoreMixin
- implements Activatable, HazelcastEntityStoreService, MapEntityStore
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HazelcastEntityStoreMixin
public HazelcastEntityStoreMixin()
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
- Overrides:
activate
in class MapEntityStoreMixin
- 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
- Overrides:
passivate
in class MapEntityStoreMixin
- Throws:
Exception
- if the service could not be passivated
hazelcastInstanceUsed
public com.hazelcast.core.HazelcastInstance hazelcastInstanceUsed()
- Specified by:
hazelcastInstanceUsed
in interface HazelcastEntityStoreService
hazelcastMapUsed
public com.hazelcast.core.IMap hazelcastMapUsed()
- Specified by:
hazelcastMapUsed
in interface HazelcastEntityStoreService
get
public Reader get(EntityReference ref)
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