Name | Description |
---|---|
Constants | Functions for querying the Cache |
Extractors | Functions for querying the Cache |
Filters | Functions for querying the Cache |
Query | Functions for querying the Cache |
Name | Signature and Synopsis |
---|---|
C_CacheLoadConceptByExtId | Concept C_CacheLoadConceptByExtId(String extId, boolean includeContained) Retrieve from the cache the concept whose external identifier is specified |
C_CacheLoadConceptById | Concept C_CacheLoadConceptById(long id, boolean includeContained) Retrieve from the cache the concept whose identifier is specified |
C_CacheLoadConceptIndexedByExtId | Concept C_CacheLoadConceptIndexedByExtId(String extId, boolean includeContained,
String className) Retrieve from the cache the concept whose external identifier is specified. This method relies on an index that should be added on the concept's extId. See {@link #C_Index(String, Object, boolean)} and the extractor to be used for the index creation - C_EntityExtIdGetter(). |
C_CacheLoadConceptsByExtId | Object[] C_CacheLoadConceptsByExtId(String[] extIds) Bulk retrieval of Concepts from the Cache. |
C_CacheLoadEntity | Concept C_CacheLoadEntity(Entity entity) Load the entity into RETE |
C_CacheLoadEventByExtId | Event C_CacheLoadEventByExtId(String extId) Retrieve from the cache the event whose external identifier is specified |
C_CacheLoadEventById | Event C_CacheLoadEventById(long id) Retrieve from the cache the event whose identifier is specified |
C_CacheLoadParent | void C_CacheLoadParent(Concept cept, boolean recursive) Loads from cache the parent concepts of the given concept. |
C_CacheName | String C_CacheName(String entityPath) Returns the cache name for the specified entityPath |
C_CacheReevaluate | void C_CacheReevaluate(Entity entity) Reload the entity into RETE and reevaluate all rules |
C_ClassName | String C_ClassName(String entityPath) Returns the generated class name |
C_EnableCacheUpdate | void C_EnableCacheUpdate(boolean updateCache) Set to true if the current RTC changes be replicated to the cache else RTC changes will lead to cache eviction instead of updates |
C_Index | void C_Index(String cacheName, Object property, boolean isOrdered) Creates an index on the property |
C_Lock | boolean C_Lock(String key, long timeout, boolean localOnly) Locks the object represented by the key within a rule session |
C_TransactionProperties | void C_TransactionProperties(boolean autoCommit, int concurrency, int isolation) Set the transaction properties for the current RTC |
C_UnLock | void C_UnLock(String key, boolean localOnly) Unlocks the object represented by the key within a rule session |