public class LocalSpaceRepository extends SpaceRepository
This repository is thread-safe.
SpaceRepository.SpaceDescription, SpaceRepository.SpaceSpecificationKey
Constructor and Description |
---|
LocalSpaceRepository(injector : com.google.inject.Injector,
executor : ExecutorService,
config : SreConfig,
specificationFactory : SreSpaceSpecificationFactory,
internalStructure : ConcurrentHashMap<UUID,SpaceRepository.SpaceDescription>,
listenerCollection : SmartListenerCollection<?>)
Constructor.
|
LocalSpaceRepository(injector : com.google.inject.Injector,
executor : ExecutorService,
config : SreConfig,
specificationFactory : SreSpaceSpecificationFactory,
listenerCollection : SmartListenerCollection<?>)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected ConcurrentHashMap<UUID,SpaceRepository.SpaceDescription> |
getSharedStructure()
Replies the internal map that contains the spaces
|
addSpaceRepositoryListener, createSpace, createSpaceDescription, createSpaceFirstInstance, destroy, destroyableSpace, fireSpaceAdded, fireSpaceRemoved, getOrCreateSpaceWithID, getOrCreateSpaceWithSpec, getSpace, getSpaces, getSpaces, life, life, refreshInternalStructures, removeSpace, removeSpaceRepositoryListener, safeDestroy
@Inject
public new
(injector : com.google.inject.Injector,
executor : ExecutorService,
config : SreConfig,
specificationFactory : SreSpaceSpecificationFactory,
listenerCollection : SmartListenerCollection<?>)
injector
- the injector.executor
- the asynchronous execution service.config
- accessor to the configuration.specificationFactory
- the factory of space specifications.listenerCollection
- the instance of the listener collection.lockProvider
- the provider of the locking objects that must be used to synchronize this repository.public new
(injector : com.google.inject.Injector,
executor : ExecutorService,
config : SreConfig,
specificationFactory : SreSpaceSpecificationFactory,
internalStructure : ConcurrentHashMap<UUID,SpaceRepository.SpaceDescription>,
listenerCollection : SmartListenerCollection<?>)
injector
- the injector.executor
- the asynchronous execution service.config
- the configuration.specificationFactory
- the factory of space specifications.listenerCollection
- the instance of the listener collection.lockProvider
- the provider of the locking objects that must be used to synchronize this repository.protected def
getSharedStructure() : ConcurrentHashMap<UUID,SpaceRepository.SpaceDescription>
SpaceRepository
getSharedStructure
in class SpaceRepository
Copyright © 2020 the original authors or authors.