io.sarl.sre.janus.services.context
Class LocalSpaceRepository
All Superinterfaces:
SpaceListener, java.util.EventListener
All Known Subclasses:
HazelcastSpaceRepository
class LocalSpaceRepository
extends SpaceRepository
A repository of spaces specific to a given context.

This repository is thread-safe.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Property Summary
Modifier and type Property and description
protected java.util.Map<K,V> sharedStructure
Inherited: lock, spaces
Field Summary
Inherited: logger
Constructor Summary
Action Summary
Modifier and type Action and description
protected java.util.Map<K,V> getSharedStructure
Property Details
sharedStructure
protected val sharedStructure : java.util.Map<K,V>

This property is an alias for the action: getSharedStructure

Constructor Details
new(Injector,ExecutorService,LoggingService,SreConfig,SreSpaceSpecificationFactory,Provider<T>)
new(Injector,ExecutorService,LoggingService,SreConfig,SreSpaceSpecificationFactory,Provider<T>)
Constructor.
Parameters:
injector - the injector.
executor - the asynchronous execution service.
loggingService - the logging service.
config - accessor to the configuration.
specificationFactory - the factory of space specifications.
factories - the provider of factories tool.
new(Injector,ExecutorService,LoggingService,SreConfig,SreSpaceSpecificationFactory,Map<K,V>,Provider<T>)
new(Injector,ExecutorService,LoggingService,SreConfig,SreSpaceSpecificationFactory,Map<K,V>,Provider<T>)
Constructor.
Parameters:
injector - the injector.
executor - the asynchronous execution service.
loggingService - the logging service.
config - the configuration.
specificationFactory - the factory of space specifications.
factories - the provider of factories tool.
Action Details
getSharedStructure
protected def getSharedStructure : java.util.Map<K,V>