From 5cd4c824402fc4cb55e7967a947daf9e333fdcdd Mon Sep 17 00:00:00 2001 From: Nathaniel Davidson Date: Sun, 15 Sep 2024 01:44:31 -0700 Subject: [PATCH] expose start lock manager --- build.gradle | 2 +- src/main/java/com/nucleodb/library/NucleoDB.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 23df6c4..4bd17af 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ plugins { } group = 'com.nucleodb' -version = '1.18.5' +version = '1.18.6' repositories { mavenCentral() diff --git a/src/main/java/com/nucleodb/library/NucleoDB.java b/src/main/java/com/nucleodb/library/NucleoDB.java index 19901d6..bc42b47 100644 --- a/src/main/java/com/nucleodb/library/NucleoDB.java +++ b/src/main/java/com/nucleodb/library/NucleoDB.java @@ -99,7 +99,7 @@ public NucleoDB(DBType dbType, String readToTime, Consumer c startConnections(packagesToScan, dbType, readToTime, connectionCustomizer); } - private void startLockManager(Consumer customizer) throws IntrospectionException, InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException { + public void startLockManager(Consumer customizer) throws IntrospectionException, InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException { LockConfig config = new LockConfig(); CountDownLatch lockManagerStartupComplete = new CountDownLatch(1); config.setStartupRun(new StartupRun() {