/** * Creates a new <code>LRUAlgorithm</code> with the given * {@linkplain EvictionAction eviction action}. */ protected LRUAlgorithm(EvictionAction evictionAction,Region region) { bucketRegion=(BucketRegion)(region instanceof BucketRegion ? region :null); setEvictionAction(evictionAction); this.helper = createLRUHelper(); }
/** * Creates a new <code>LRUAlgorithm</code> with the given * {@linkplain EvictionAction eviction action}. */ protected LRUAlgorithm(EvictionAction evictionAction,Region region) { bucketRegion=(BucketRegion)(region instanceof BucketRegion ? region :null); setEvictionAction(evictionAction); this.helper = createLRUHelper(); }