* @param logger Slide logger to be used for logging
* @param noGlobalCachingInsideTx indicates global caches are enabled, but shall not be used inside transactions
*/
public TxLRUObjectCache(int globalCacheSize, String name, Logger logger, boolean noGlobalCachingInsideTx) {
if (globalCacheSize != -1) {
globalCache = new LRUMap(globalCacheSize);
}
txChangeCaches = new HashMap();
txDeleteCaches = new HashMap();
this.name = name;