Examples of LFUPageCache


Examples of org.fusesource.hawtdb.internal.page.LFUPageCache

    protected TxPageFileFactory createConcurrentPageFileFactory() {
        TxPageFileFactory rc = new TxPageFileFactory();
        rc.setFile(new File("target/test-data/" + getClass().getName() + ".db"));
        rc.setPageSize((short) 512);
        rc.setPageCache(new LFUPageCache(1000, 0.5f));
        return rc;
    }
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.