use of com.actiontech.dble.backend.mysql.xa.VersionedFile in project dble by actiontech.
the class FileSystemRepository method init.
@Override
public void init() {
SystemConfig systemConfig = DbleServer.getInstance().getConfig().getSystem();
String baseDir = systemConfig.getXaRecoveryLogBaseDir();
String baseName = systemConfig.getXaRecoveryLogBaseName();
LOGGER.debug("baseDir " + baseDir);
LOGGER.debug("baseName " + baseName);
// Judge whether exist the basedir
createBaseDir(baseDir);
file = new VersionedFile(baseDir, baseName, ".log");
}
Aggregations