DbEnv.open

						import com.sleepycat.db.*;
						import java.io.FileNotFoundException;
						public void open(String db_home, int flags, int mode)
						throws DbException, FileNotFoundException;
					

Description

The DbEnv.open method is the interface for opening the Berkeley DB environment. It provides a structure for creating a consistent environment for processes using one or more of the features of Berkeley DB.

The db_home argument to DbEnv.open (and filename resolution in general) is described in “Berkeley DB File Naming.”

The flags argument specifies the subsystems that are initialized and how the application’s environment affects Berkeley DB file naming, among other things.

The flags value must be set to 0 or by bitwise inclusively OR’ing together one or more ...

Get Berkeley DB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.