Package org.apache.activemq.kaha.impl

Examples of org.apache.activemq.kaha.impl.DataManager


    protected IndexLinkedList createList(IndexItem root) throws IOException {
        String dirName = System.getProperty("basedir", ".") + "/target/activemq-data/testIndex";
        File file = new File(dirName);
        file.mkdirs();
        IOHelper.deleteChildren(file);
        DataManager dm = new DataManagerImpl(file,"test",new AtomicLong());
        im = new IndexManager(file,"test","rw",dm,new AtomicLong());
        root = im.createNewIndex();
        im.storeIndex(root);
        return new DiskIndexLinkedList(im,root);
    }
View Full Code Here

TOP

Related Classes of org.apache.activemq.kaha.impl.DataManager

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.