Cluster.DataGrid

Description

Functions to operate on the cluster

Functions

NameSignature and Synopsis
CacheLoadConceptByExtIdConcept CacheLoadConceptByExtId(String extId, boolean includeContained)
CacheLoadConceptByIdConcept CacheLoadConceptById(Object id, boolean includeContained)
CacheLoadConceptIndexedByExtIdConcept CacheLoadConceptIndexedByExtId(String extId, boolean includeContained, String className)
CacheLoadConceptsByExtIdObject[] CacheLoadConceptsByExtId(String[] extIds)
CacheLoadEntityvoid CacheLoadEntity(Entity entity)
Load the entity into RETE
CacheLoadEventByExtIdEvent CacheLoadEventByExtId(String extId)
CacheLoadEventByIdEvent CacheLoadEventById(Object id)
CacheLoadParentvoid CacheLoadParent(Concept cept, boolean recursive)
CacheNameString CacheName(String entityPath)
Returns the cache name for the specified entityPath
CacheReevaluatevoid CacheReevaluate(Entity entity)
Reload the entity into RETE and reevaluate all rules (allowed only in preprocessor)
ClassNameString ClassName(String entityPath)
Returns the generated class name
EnableCacheUpdatevoid 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
EvictCachevoid EvictCache(String cacheName, Object filter, boolean deleteFromPersistence)
Indexvoid Index(String cacheName, Object property, boolean isOrdered)
Creates an index on the property
Lockboolean Lock(String key, long timeout, boolean localOnly)
UnLockvoid UnLock(String key, boolean localOnly)