Package krati.core.segment

Examples of krati.core.segment.SegmentFactory


        setHashLoadFactor(parseDouble(paramName, paramValue, StoreParams.HASH_LOAD_FACTOR_DEFAULT));
       
        // Create _segmentFactory
        paramName = StoreParams.PARAM_SEGMENT_FACTORY_CLASS;
        paramValue = _properties.getProperty(paramName);
        SegmentFactory segmentFactory = null;
        if(paramValue != null) {
            try {
                segmentFactory = Class.forName(paramValue).asSubclass(SegmentFactory.class).newInstance();
            } catch(Exception e) {
                _logger.warn("Invalid SegmentFactory class: " + paramValue);
View Full Code Here


        long elapsedTime = endTime - startTime;
        StatsLog.logger.info("elapsedTime="+ elapsedTime +" ms");
    }
   
    protected void evaluate(int... tierCapacities) throws Exception {
        SegmentFactory segmentFactory = createSegmentFactory();
        HashFunction<byte[]> hashFunction = createHashFunction();
       
        File storeHomeDir = getHomeDirectory();
       
        StaticDataSet[] tieredStores = new StaticDataSet[tierCapacities.length];
View Full Code Here

TOP

Related Classes of krati.core.segment.SegmentFactory

Copyright © 2018 www.massapicom. 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.