/** * Creates a soft-reference based L2 cache with a {@link MRU} cache as * the internal (L1) cache. The soft reference cache uses the * default load capacity of 1.5f, which is intended to sacrifice some * performance for space. This compromise is reasonable, since all * {@link #get(Object) get( )s} first try the L1 cache anyway. The * internal MRU is given a capacity of 128 elements. */ public SoftCache() { this( new MRU( INITIAL_CAPACITY ) ); }
/** * Creates a soft-reference based L2 cache with a {@link MRU} cache as * the internal (L1) cache. The soft reference cache uses the * default load capacity of 1.5f, which is intended to sacrifice some * performance for space. This compromise is reasonable, since all * {@link #get(Object) get( )s} first try the L1 cache anyway. The * internal MRU is given a capacity of 128 elements. */ public SoftCache() { this(new MRU(INITIAL_CAPACITY)); }
/** * Creates a soft-reference based L2 cache with a {@link MRU} cache as * the internal (L1) cache. The soft reference cache uses the * default load capacity of 1.5f, which is intended to sacrifice some * performance for space. This compromise is reasonable, since all * {@link #get(Object) get( )s} first try the L1 cache anyway. The * internal MRU is given a capacity of 128 elements. */ public SoftCache() { this( new MRU( INITIAL_CAPACITY ) ); }
MRU cache = new MRU( cacheSize ); recman = new CacheRecordManager( recman, cache );
MRU cache = new MRU( cacheSize ); recman = new CacheRecordManager( recman, cache );
MRU cache = new MRU( cacheSize ); recman = new CacheRecordManager( recman, cache );
BaseRecordManager base = new BaseRecordManager( path ); base.disableTransactions(); recMan = new CacheRecordManager( base, new MRU( cacheSize ) );
new Integer( cacheSize ), cfg.getName() ); recMan = new CacheRecordManager( base, new MRU( cacheSize ) );
recMan = new CacheRecordManager( base, new MRU( recCacheSize ) );