int capacity = 1000;
String storeName = getClass().getSimpleName();
try {
File storeHome = FileUtils.getTestDir(storeName);
KratiArrayStore kas = StoreFactory.createKratiArrayStore(storeHome, capacity, new MemorySegmentFactory(), 32);
store = new KratiArrayStoreFilters(kas);
} catch (Exception e) {
e.printStackTrace();
}
}