stateDataFile = new File(runtimePath + File.separator + "data.flag");
final File globalStateFile;
globalStateFile = new File(runtimePath + File.separator + "global.flag");
FileAccessParameter fileAccessParameter = new FileAccessParameter();
fileAccessParameter
.setFileAccessMode(EnumFileAccessMode.NIO_RANDOM_FILE_ACCESS);
fileAccessParameter.setFile(dataFile);
fileAccessParameter.setMaxRetry(1);
fileAccessParameter.setRetryMsDelay(0);
fileAccessParameter.setUseCache(false);
fileForStorable = new FileForStorable(fileAccessParameter);
final FileForStorable backupFileForStorage;
fileAccessParameter = new FileAccessParameter();
fileAccessParameter
.setFileAccessMode(EnumFileAccessMode.NIO_RANDOM_FILE_ACCESS);
fileAccessParameter.setFile(backupFile);
fileAccessParameter.setMaxRetry(1);
fileAccessParameter.setRetryMsDelay(0);
fileAccessParameter.setUseCache(false);
backupFileForStorage = new FileForStorable(fileAccessParameter);
heapElementManager = new HeapElementManager(fileForStorable,
stateDataFile, backupFileForStorage, stateDataBackupFile,
globalStateFile, false, false, 1, 0, openFileTraceFile);