Examples of KahaStore


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

     * @param mode
     * @return
     * @throws IOException
     */
    public static Store open(File directory, String mode) throws IOException {
        return new KahaStore(directory, mode, new AtomicLong());
    }
View Full Code Here

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

     * @param size
     * @return the opened/created store
     * @throws IOException
     */
    public static Store open(String name, String mode, AtomicLong size) throws IOException {
        return new KahaStore(name, mode,size);
    }
View Full Code Here

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

     * @param size
     * @return
     * @throws IOException
     */
    public static Store open(File directory, String mode, AtomicLong size) throws IOException {
        return new KahaStore(directory, mode, size);
    }
View Full Code Here

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

     * @param name of the database
     * @return true if successful
     * @throws IOException
     */
    public static boolean delete(String name) throws IOException {
        KahaStore store = new KahaStore(name, "rw");
        return store.delete();
    }
View Full Code Here

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

     * @param directory
     * @return true if successful
     * @throws IOException
     */
    public static boolean delete(File directory) throws IOException {
        KahaStore store = new KahaStore(directory, "rw");
        return store.delete();
    }
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.