DbEnv |
import com.sleepycat.db.*;public class DbEnv extends Object { public DbEnv(int flags); ... }
The constructor creates a DbEnv object that is the handle for a Berkeley DB environment. The constructor allocates memory internally; calling the Db.close or Db.remove methods will free that memory.
The following flags value may be specified:
The Db.DB_CLIENT flag indicates to the system that this environment is remote on a server. The use of this flag causes the environment methods to use functions that call a server instead of local functions. Prior to making any environment or database method calls, the application must call the DbEnv.set_rpc_server method to establish the connection to the server.