| biz.hammurapi.rules.CollectionManager
All known Subclasses: biz.hammurapi.rules.PojoCollectionManager,
CollectionManager | public interface CollectionManager extends Negatable(Code) | | Implementations manage collections for rules.
Rules itself shall not maintain collections of
facts and objects, but use CollectionManager.
author: Pavel Vlasov version: ${Revision} |
Method Summary | |
void | clear() Clears all collections. | Collection | get(String ruleName, String collectionName, Object lock) Retrieves collection from the manager.
If a collection for this name doesn't exist it
should be created.
Parameters: ruleName - Name of the rule this collection belongs to. Parameters: collectionName - Name of the collection withing the rule. |
clear | void clear()(Code) | | Clears all collections.
|
get | Collection get(String ruleName, String collectionName, Object lock)(Code) | | Retrieves collection from the manager.
If a collection for this name doesn't exist it
should be created.
Parameters: ruleName - Name of the rule this collection belongs to. Parameters: collectionName - Name of the collection withing the rule. Collection, never null. Parameters: lock - Collection monitor for synchronization. |
|
|