public class HazelcastEntityStoreMixin extends Object implements ServiceActivation, HazelcastAccessors, MapEntityStore
ServiceActivation.ServiceActivatorMapEntityStore.MapChanger, MapEntityStore.MapChanges| Constructor and Description |
|---|
HazelcastEntityStoreMixin() |
| Modifier and Type | Method and Description |
|---|---|
void |
activateService()
Called after ServiceComposite Activation.
|
void |
applyChanges(MapEntityStore.MapChanges changes) |
Input<Reader,IOException> |
entityStates() |
Reader |
get(EntityReference ref) |
com.hazelcast.core.HazelcastInstance |
hazelcastInstanceUsed() |
com.hazelcast.core.IMap |
hazelcastMapUsed() |
void |
passivateService()
Called before ServiceComposite Passivation.
|
public void activateService()
throws Exception
ServiceActivationactivateService in interface ServiceActivationExceptionpublic void passivateService()
throws Exception
ServiceActivationpassivateService in interface ServiceActivationExceptionpublic com.hazelcast.core.HazelcastInstance hazelcastInstanceUsed()
hazelcastInstanceUsed in interface HazelcastAccessorspublic com.hazelcast.core.IMap hazelcastMapUsed()
hazelcastMapUsed in interface HazelcastAccessorspublic Reader get(EntityReference ref) throws EntityStoreException
get in interface MapEntityStoreref - The reference to the entity that we want to get.EntityStoreExceptionpublic void applyChanges(MapEntityStore.MapChanges changes) throws IOException
applyChanges in interface MapEntityStoreIOExceptionpublic Input<Reader,IOException> entityStates()
entityStates in interface MapEntityStore