Name | Signature and Synopsis |
---|---|
CacheLoadConceptByExtId | Concept CacheLoadConceptByExtId(String extId, boolean includeContained) Retrieve from the cache the concept whose external identifier is specified |
CacheLoadConceptByExtIdByUri | Concept CacheLoadConceptByExtIdByUri(String extId, boolean includeContained, String uri) Retrieve from the cache the concept whose external identifier is specified |
CacheLoadConceptById | Concept CacheLoadConceptById(long id, boolean includeContained) Retrieve from the cache the concept whose identifier is specified |
CacheLoadConceptIndexedByExtId | Concept 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 Index(String, Object, boolean) and the extractor to be used for the index creation -
EntityExtIdGetter(). |
CacheLoadConceptsByExtId | Object[] CacheLoadConceptsByExtId(String[] extIds) Bulk retrieval of Concepts from the Cache. |
CacheLoadConceptsByExtIdByUri | Concept[] CacheLoadConceptsByExtId(String[] extIds, String uri) Bulk retrieval of Concepts from the Cache. |
CacheLoadEntity | void CacheLoadEntity(Entity entity) Load the entity into RETE |
CacheLoadEventByExtId | Event CacheLoadEventByExtId(String extId) Retrieve from the cache the event whose external identifier is specified |
CacheLoadEventByExtIdByUri | Event CacheLoadEventByExtIdByUri(String, String)(String extId, String uri) Retrieve from the cache the event whose external identifier is specified |
CacheLoadEventById | Event CacheLoadEventById(long id) Retrieve from the cache the event whose identifier is specified |
CacheLoadParent | void CacheLoadParent(Concept cept, boolean recursive) Loads from cache the parent concepts of the given concept. |
CacheName | String CacheName(String entityPath) Returns the cache name for the specified entityPath |
CacheReevaluate | void CacheReevaluate(Entity entity) Reload the entity into RETE and reevaluate all rules (allowed only in preprocessor) |
ClassName | String ClassName(String entityPath) Returns the generated class name |
EnableCacheUpdate | void 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 |
EvictCache | void EvictCache(String cacheName, Object filter, boolean deleteFromPersistence) Execute a query/filter based eviction from cache. Strictly to be used for entities with cache-only object management. It will work only if "Store Properties As Individual Fields" is enabled in the CDD cluster setting. It will not work with the history based properties. |
Index | void Index(String cacheName, Object property, boolean isOrdered) Creates an index on the property |
Lock | boolean Lock(String key, long timeout, boolean localOnly) Locks the object represented by the key within a rule session |
UnLock | void UnLock(String key, boolean localOnly) Unlocks the object represented by the key within a rule session |