| biz.hammurapi.rules.PojoCollectionManager
PojoCollectionManager | public class PojoCollectionManager extends ComponentBase implements Component,CollectionManager(Code) | | Collection manager which holds collections in memory and
can use storage to persist state.
author: Pavel Vlasov version: ${Revision} |
clear | public synchronized void clear()(Code) | | |
isNegatedBy | public synchronized boolean isNegatedBy(Negator negator)(Code) | | Iterates over all collections and removes negated facts.
Collection operations are synchronized using monitor object passed in get() method for a given collection
or collection itself if monitor is null.
|
setCollectionType | public void setCollectionType(String collectionType)(Code) | | |
setStorageReference | public void setStorageReference(String storageReference)(Code) | | Path to object storage.
Parameters: storageReference - |
start | public synchronized void start() throws ConfigurationException(Code) | | Starts collection manager. Loads collections from storage if storage reference is not null.
|
stop | public synchronized void stop() throws ConfigurationException(Code) | | Empty method. Storage of collections is performed by object storage if storage reference is set.
|
|
|