Package krati.util

Examples of krati.util.FnvHashFunction


       
        // Set the default segment factory
        this.setSegmentFactory(new MappedSegmentFactory());
       
        // Set the default hash function
        this.setHashFunction(new FnvHashFunction());
       
        // Load properties from the default configuration file
        File file = new File(homeDir, CONFIG_PROPERTIES_FILE);
        if(file.exists()) {
            this.load(file);
View Full Code Here


            } catch(Exception e) {
                _logger.warn("Invalid HashFunction<byte[]> class: " + paramValue);
            }
        }
        if(hashFunction == null) {
            hashFunction = new FnvHashFunction();
        }
        setHashFunction(hashFunction);
       
        // Create _dataHandler
        paramName = StoreParams.PARAM_DATA_HANDLER_CLASS;
View Full Code Here

        super(TestFnvHashFunction.class.getSimpleName());
    }

    @Override
    protected HashFunction<byte[]> createHashFunction() {
        return new FnvHashFunction();
    }
View Full Code Here

TOP

Related Classes of krati.util.FnvHashFunction

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.