## Uses of Class
com.sleepycat.db.DatabaseConfig

- Packages that use DatabaseConfig
  Package | Description
  --- | ---
  com.sleepycat.db | Berkeley DB Java API [reference guide] [Java programming notes].
  com.sleepycat.persist | The Direct Persistence Layer (DPL) adds a persistent object model to the Berkeley DB transactional engine.

- - ### Uses of DatabaseConfig in com.sleepycat.db

    Subclasses of DatabaseConfig in com.sleepycat.db
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `SecondaryConfig` | The configuration properties of a `SecondaryDatabase` extend those of a primary `Database`.

    Fields in com.sleepycat.db declared as DatabaseConfig
    Modifier and Type | Field | Description
    --- | --- | ---
    `static DatabaseConfig` | DatabaseConfig.`DEFAULT` | An instance created using the default constructor is initialized with the system's default settings.

    Methods in com.sleepycat.db that return DatabaseConfig
    Modifier and Type | Method | Description
    --- | --- | ---
    `DatabaseConfig` | DatabaseConfig.`cloneConfig()` | Returns a copy of this configuration object.
    `DatabaseConfig` | Database.`getConfig()` | Return this Database object's configuration.
    `DatabaseConfig` | SecondaryDatabase.`getConfig()` | Return this Database object's configuration.

    Methods in com.sleepycat.db with parameters of type DatabaseConfig
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | Database.`convert​(java.lang.String fileName, boolean useBigEndian, DatabaseConfig config)` | Convert the byte order of all the databases included in the specified file.
    `Database` | Environment.`openDatabase​(Transaction txn, java.lang.String fileName, java.lang.String databaseName, DatabaseConfig config)` | Open a database.
    `static void` | Database.`remove​(java.lang.String fileName, java.lang.String databaseName, DatabaseConfig config)` | Remove the database specified by the file and database parameters.
    `static void` | Database.`rename​(java.lang.String fileName, java.lang.String oldDatabaseName, java.lang.String newDatabaseName, DatabaseConfig config)` | Rename a database specified by the file and database parameters.
    `void` | Database.`setConfig​(DatabaseConfig config)` | Change the settings in an existing database handle.
    `static void` | Database.`upgrade​(java.lang.String fileName, DatabaseConfig config)` | Upgrade all of the databases included in the specified file.
    `static boolean` | Database.`verify​(java.lang.String fileName, java.lang.String databaseName, java.io.PrintStream dumpStream, VerifyConfig verifyConfig, DatabaseConfig dbConfig)` | Return if all of the databases in a file are uncorrupted.

    Constructors in com.sleepycat.db with parameters of type DatabaseConfig
    Constructor | Description
    --- | ---
    `Database​(java.lang.String filename, java.lang.String databaseName, DatabaseConfig config)` | Open a database.

  - ### Uses of DatabaseConfig in com.sleepycat.persist

    Methods in com.sleepycat.persist that return DatabaseConfig
    Modifier and Type | Method | Description
    --- | --- | ---
    `DatabaseConfig` | EntityStore.`getPrimaryConfig​(java.lang.Class entityClass)` | Returns the default primary database Berkeley DB engine API configuration for an entity class.

    Methods in com.sleepycat.persist with parameters of type DatabaseConfig
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | EntityStore.`setPrimaryConfig​(java.lang.Class entityClass, DatabaseConfig config)` | Configures the primary database for an entity class using the Berkeley DB engine API.

Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.