Package org.archive.util

Examples of org.archive.util.BloomFilter64bit


    private boolean received = false;

    protected void setUp() throws Exception {
        super.setUp();
        this.filter = new BloomUriUniqFilter();
        this.filter.setBloomFilter(new BloomFilter64bit(2000, 24));
        this.filter.afterPropertiesSet();
        this.filter.setDestination(this);
    }
View Full Code Here


            // these defaults create a bloom filter that is
            // 1.44*125mil*22/8 ~= 495MB in size, and at full
            // capacity will give a false contained indication
            // 1/(2^22) ~= 1 in every 4 million probes
            bloom = new BloomFilter64bit(125000000,22);
        }
    }
View Full Code Here

TOP

Related Classes of org.archive.util.BloomFilter64bit

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.