| com.completex.objective.components.ocache.OdalMultiIndexCache
All known Subclasses: com.completex.objective.components.ocache.impl.MultiIndexCacheImpl, com.completex.objective.components.ocache.impl.SafeMultiIndexCacheImpl,
OdalMultiIndexCache | public interface OdalMultiIndexCache extends OdalNotifyingCache,OdalCacheListener,OdalKeyedCache(Code) | | Cache representing an element of multi-index data structure.
Putting a value into it will populate all the linked caches in following manner:
key1 -> Value (belongs to this OdalLinkedCache)
key2 -> Value (belongs to different OdalLinkedCache)
....
keyN -> Value (belongs to different OdalLinkedCache)
Removing the Value by key1 from the cache will remove it from all other linked caches as well
author: Gennady Krizhevsky |
NULL_MULTI_INDEX_CACHE | final public static NullMultiIndexCache NULL_MULTI_INDEX_CACHE(Code) | | |
getMasterCache | OdalKeyedCache getMasterCache()(Code) | | Returns Master cache for this cache. If this cache is the Master - returns null
Master cache for this cache. If this cache is the Master - returns null |
getNotNotify | Object getNotNotify(Object key)(Code) | | Core functionality on get object from cache without notifying the listeners.
Parameters: key - key cached value |
isMaster | boolean isMaster()(Code) | | Return true if this is a Master cache
true if this is a Master cache |
putNotNotify | Object putNotNotify(Object key, Object value)(Code) | | Core functionality on put object to cache without notifying the listeners.
Parameters: key - Parameters: value - value to cache old cache value |
setMasterCache | void setMasterCache(OdalMultiIndexCache masterOdalKeyedCache)(Code) | | Sets Master cache for this cache. If this cache is the Master - set null
Parameters: masterOdalKeyedCache - Master cache for this cache. If this cache is the Master - set null |
|
|