updated lock file cleanup to be useable by other build plugins

This commit is contained in:
Jeremy Long
2017-12-17 07:36:23 -05:00
parent 9be1da7e12
commit bb20129f0e
8 changed files with 158 additions and 16 deletions

View File

@@ -456,6 +456,10 @@ public final class Settings {
* Size of database batch inserts
*/
public static final String MAX_BATCH_SIZE = "database.batchinsert.maxsize";
/**
* The key that specifies the class name of the H2 database shutdown hook.
*/
public static String H2DB_SHUTDOWN_HOOK = "data.h2.shutdownhook";
/**
* private constructor because this is a "utility" class containing
@@ -958,6 +962,7 @@ public final class Settings {
}
if (connStr.contains("%s")) {
final File directory = getDataDirectory();
LOGGER.debug("Data directory: {}", directory);
String fileName = null;
if (dbFileNameKey != null) {
fileName = getString(dbFileNameKey);