io.sarl.sre.janus.network.services
Class HazelcastContextService
All Superinterfaces:
ContextService, org.arakhne.afc.services.IService
class HazelcastContextService
extends MemoryBasedContextService
Implementation of a context-space service that is connected to remote SRE with the Hazelcast framework.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.network
Since:
0.12
Property Summary
Modifier and type Property and description
com.hazelcast.core.HazelcastInstance hazelcastInstance
Nested Type Summary
Modifier and type Type and description
protected class HazelcastContextService.DefaultSpacesMapListener
Listener on Hazelcast's shared map events.
Field Summary
Inherited: lock, logger
Constructor Summary
Action Summary
Modifier and type Action and description
protected java.util.logging.Logger createLogger(LoggingService)
protected Context ensureDefaultSpaceDefinition(UUID,UUID,Agent)
com.hazelcast.core.HazelcastInstance getHazelcastInstance
protected Context newContextInstance(UUID,UUID,Agent)
void onStart
void onStop
Context removeContext(UUID)
protected Context removeDefaultSpaceDefinition(UUID,UUID)
Property Details
hazelcastInstance
val hazelcastInstance : com.hazelcast.core.HazelcastInstance

This property is an alias for the action: getHazelcastInstance

Constructor Details
new(SreConfig,Context,LoggingService,Injector,ContextFactory,Provider<T>,HazelcastInstance)
new(SreConfig,Context,LoggingService,Injector,ContextFactory,Provider<T>,HazelcastInstance)
Action Details
createLogger(LoggingService)
protected def createLogger(LoggingService) : java.util.logging.Logger
ensureDefaultSpaceDefinition(UUID,UUID,Agent)
protected def ensureDefaultSpaceDefinition(UUID,UUID,Agent) : Context
getHazelcastInstance
def getHazelcastInstance : com.hazelcast.core.HazelcastInstance
newContextInstance(UUID,UUID,Agent)
protected def newContextInstance(UUID,UUID,Agent) : Context
onStart
def onStart
onStop
def onStop
removeContext(UUID)
def removeContext(UUID) : Context
removeDefaultSpaceDefinition(UUID,UUID)
protected def removeDefaultSpaceDefinition(UUID,UUID) : Context