Package krati.store.factory

Examples of krati.store.factory.DataStoreFactory.create()


        }
    }
   
    public void testStaticDataStoreFactory() throws IOException {
        DataStoreFactory storeFactory = new StaticDataStoreFactory();
        DataStore<byte[], byte[]> store = storeFactory.create(_config);
        assertEquals(StaticDataStore.class, store.getClass());
        store.close();
    }
   
    public void testDynamicDataStoreFactory() throws IOException {
View Full Code Here


        store.close();
    }
   
    public void testDynamicDataStoreFactory() throws IOException {
        DataStoreFactory storeFactory = new DynamicDataStoreFactory();
        DataStore<byte[], byte[]> store = storeFactory.create(_config);
        assertEquals(DynamicDataStore.class, store.getClass());
        store.close();
    }
   
    public void testIndexedDataStoreFactory() throws IOException {
View Full Code Here

        store.close();
    }
   
    public void testIndexedDataStoreFactory() throws IOException {
        DataStoreFactory storeFactory = new IndexedDataStoreFactory();
        DataStore<byte[], byte[]> store = storeFactory.create(_config);
        assertEquals(IndexedDataStore.class, store.getClass());
        store.close();
    }
}
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.