Cluster.DataGrid

Description

Functions to operate on the cluster

Functions

NameSignature and Synopsis
CacheLoadConceptByExtIdConcept CacheLoadConceptByExtId(String extId, boolean includeContained)
Retrieve from the cache the concept whose external identifier is specified
CacheLoadConceptByIdConcept CacheLoadConceptById(long id, boolean includeContained)
Retrieve from the cache the concept whose identifier is specified
CacheLoadConceptIndexedByExtIdConcept 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 #Index(String, Object, boolean)} and the extractor to be used for the index creation - EntityExtIdGetter().
CacheLoadConceptsByExtIdObject[] CacheLoadConceptsByExtId(String[] extIds)
Bulk retrieval of Concepts from the Cache.
CacheLoadEntityConcept CacheLoadEntity(Entity entity)
Load the entity into RETE
CacheLoadEventByExtIdEvent CacheLoadEventByExtId(String extId)
Retrieve from the cache the event whose external identifier is specified
CacheLoadEventByIdEvent CacheLoadEventById(long id)
Retrieve from the cache the event whose identifier is specified
CacheLoadParentvoid CacheLoadParent(Concept cept, boolean recursive)
Loads from cache the parent concepts of the given concept.
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
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
Indexvoid Index(String cacheName, Object property, boolean isOrdered)
Creates an index on the property
Lockboolean Lock(String key, long timeout, boolean localOnly)
Locks the object represented by the key within a rule session
TransactionPropertiesvoid TransactionProperties(boolean autoCommit, int concurrency, int isolation)
Set the transaction properties for the current RTC
UnLockvoid UnLock(String key, boolean localOnly)
Unlocks the object represented by the key within a rule session