FilePersistenceDataCorruptedException,
FilePersistenceTooBigForSerializationException, RBTException,
HeapException, TestException {
final FilePersistenceBuilder builder = new FilePersistenceBuilder();
final String dir = "runtime";// TestConstant.getWinRamDiskRuntimeDir();
final IHeapDataManager blockDataManager = new BlockDataManager(dir
+ "/data", 1024);
// 10 * 1024, 10 * 1024);
final HeapFileSetup setup = new HeapFileSetup(
EnumFileAccessMode.NIO_RANDOM_FILE_ACCESS, new File(dir
+ "/store.data"), false/* crashSafeMode */,
false/* useCacheMode */, false/* deleteRenaming */,
false/* clearResizeFile */, 0/* maxFileOperationRetry */,
0/* fileOperationRetryMsDelay */, new File(
"runtime/openFileTraceFile.txt"));
final IHeapDataManager fileDataManager = new HeapFileDataManager(setup,
false);
builder.setDataManager(new DualWrapDataManager(fileDataManager,
blockDataManager));