com.amazon.carbonado.repo.sleepycat
Interface EnvironmentCapability

All Superinterfaces:
Capability

public interface EnvironmentCapability
extends Capability

Capability to provide direct access to the underlying BDB environment.

Author:
Brian S O'Neill

Method Summary
 BDBProduct getBDBProduct()
           
 File getDataHome()
          Returns the directory where data files are stored, which is the same as the home directory by default.
 Object getEnvironment()
          Returns the BDB environment object, which must be cast to the expected type, depending on the BDB product and version being used.
 File getHome()
          Returns the home directory for the BDB environment.
 int[] getVersion()
          Returns the major, minor, and patch version numbers.
 

Method Detail

getEnvironment

Object getEnvironment()
Returns the BDB environment object, which must be cast to the expected type, depending on the BDB product and version being used.


getBDBProduct

BDBProduct getBDBProduct()

getVersion

int[] getVersion()
Returns the major, minor, and patch version numbers.


getHome

File getHome()
Returns the home directory for the BDB environment.


getDataHome

File getDataHome()
Returns the directory where data files are stored, which is the same as the home directory by default.



Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.