diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepositoryBuilder.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepositoryBuilder.java b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepositoryBuilder.java index e23d27a..562572f 100644 --- a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepositoryBuilder.java +++ b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepositoryBuilder.java @@ -103,6 +103,7 @@ public final class BDBRepositoryBuilder extends AbstractRepositoryBuilder { private boolean mMultiversion;
private boolean mLogInMemory;
private Integer mLogFileMaxSize;
+ private boolean mInitializeLogging;
private boolean mRunFullRecovery;
private boolean mRunCheckpointer = true;
private int mCheckpointInterval = DEFAULT_CHECKPOINT_INTERVAL;
@@ -652,6 +653,18 @@ public final class BDBRepositoryBuilder extends AbstractRepositoryBuilder { }
/**
+ * Ensure the transaction logging sub-system is initialized, which is
+ * usually implied.
+ */
+ public void setInitializeLogging(boolean b) {
+ mInitializeLogging = b;
+ }
+
+ public boolean getInitializeLogging() {
+ return mInitializeLogging;
+ }
+
+ /**
* Pass true to override the default and run a full (catastrophic) recovery
* when environment is opened. This setting has no effect for BDB-JE.
*/
|