summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/sleepycat/EnvironmentCapability.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/sleepycat/EnvironmentCapability.java b/src/main/java/com/amazon/carbonado/repo/sleepycat/EnvironmentCapability.java
index 1244d14..b01f9e1 100644
--- a/src/main/java/com/amazon/carbonado/repo/sleepycat/EnvironmentCapability.java
+++ b/src/main/java/com/amazon/carbonado/repo/sleepycat/EnvironmentCapability.java
@@ -18,6 +18,8 @@
package com.amazon.carbonado.repo.sleepycat;
+import java.io.File;
+
import com.amazon.carbonado.capability.Capability;
/**
@@ -31,4 +33,22 @@ public interface EnvironmentCapability extends Capability {
* type, depending on the BDB product and version being used.
*/
Object getEnvironment();
+
+ BDBProduct getBDBProduct();
+
+ /**
+ * Returns the major, minor, and patch version numbers.
+ */
+ int[] getVersion();
+
+ /**
+ * Returns the home directory for the BDB environment.
+ */
+ File getHome();
+
+ /**
+ * Returns the directory where data files are stored, which is the same as
+ * the home directory by default.
+ */
+ File getDataHome();
}