diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2009-04-16 01:37:31 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2009-04-16 01:37:31 +0000 |
commit | d5b5dc9e2082692b2d87553e4501ef2e5c8f2a64 (patch) | |
tree | c0c1e26cfa7208584149933d4eed8925deba7714 /src/main/java | |
parent | 5eb6a4f080edc798a18c2c637cf29650f0cc193f (diff) |
Added properties to obtain more BDB info.
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/sleepycat/EnvironmentCapability.java | 20 |
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();
}
|