| java.lang.Object com.completex.objective.components.ocache.impl.MultiIndexCacheFactoryImpl
All known Subclasses: com.completex.objective.components.persistency.ocache.impl.PersistencyMultiIndexCacheFactoryImpl,
MultiIndexCacheFactoryImpl | public class MultiIndexCacheFactoryImpl implements OdalMultiIndexCacheFactory(Code) | | Multi-Index cache factory implementation.
Creates multi-index cache (OdalMultiIndexCache) out of regular ones and registers it.
author: Gennady Krizhevsky |
MultiIndexCacheFactoryImpl | public MultiIndexCacheFactoryImpl()(Code) | | |
MultiIndexCacheFactoryImpl | public MultiIndexCacheFactoryImpl(ValueTransformer valueTransformer, boolean transactionSensitive)(Code) | | |
getRegisteredMultiIndexCaches | public Map getRegisteredMultiIndexCaches()(Code) | | |
initialize | protected void initialize()(Code) | | Links all the registered caches and makes this factory immutable
|
invalidateInitialized | protected void invalidateInitialized()(Code) | | |
isTransactionSensitive | public boolean isTransactionSensitive()(Code) | | Returns true if returned cache has to implement TransactionListener
true if returned cache has to implement TransactionListener |
registerCache | public synchronized void registerCache(OdalCache cache, OdalKeyFactory keyFactory)(Code) | | Creates multi-index cache (OdalMultiIndexCache) out of regular ones and registers it.
The first cache element is the master one.
|
registerCache | public void registerCache(OdalCache cache, OdalKeyFactory keyFactory, OdalCacheConfig cacheConfig)(Code) | | Creates multi-index cache (OdalMultiIndexCache) out of regular ones and registers it.
The first cache element is the master one.
Its name will be returned by getName() method.
Parameters: cache - cache to register Parameters: keyFactory - key factory. It may not be null for MultiIndexCacheFactoryImpl Parameters: cacheConfig - cache configuration |
setTransactionSensitive | public void setTransactionSensitive(boolean transactionSensitive)(Code) | | Sets true if returned cache has to implement TransactionListener
Parameters: transactionSensitive - true if returned cache has to implement TransactionListener |
|
|