Examples of MRU


Examples of org.apache.hadoop.hive.ql.util.jdbm.helper.MRU

        cacheSize = Integer.parseInt( value );

        value = options.getProperty( RecordManagerOptions.CACHE_TYPE,
                                     RecordManagerOptions.NORMAL_CACHE );
        if ( value.equalsIgnoreCase( RecordManagerOptions.NORMAL_CACHE ) ) {
            MRU cache = new MRU( cacheSize );
            recman = new CacheRecordManager( recman, cache );
        } else if ( value.equalsIgnoreCase( RecordManagerOptions.SOFT_REF_CACHE ) ) {
            throw new IllegalArgumentException( "Soft reference cache not implemented" );
        } else if ( value.equalsIgnoreCase( RecordManagerOptions.WEAK_REF_CACHE ) ) {
            throw new IllegalArgumentException( "Weak reference cache not implemented" );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.