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

- Packages that use SecondaryConfig
  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 SecondaryConfig in com.sleepycat.db

    Fields in com.sleepycat.db declared as SecondaryConfig
    Modifier and Type | Field | Description
    --- | --- | ---
    `static SecondaryConfig` | SecondaryConfig.`DEFAULT` |

    Methods in com.sleepycat.db that return SecondaryConfig
    Modifier and Type | Method | Description
    --- | --- | ---
    `SecondaryConfig` | SecondaryDatabase.`getSecondaryConfig()` | Returns a copy of the secondary configuration of this database.

    Methods in com.sleepycat.db with parameters of type SecondaryConfig
    Modifier and Type | Method | Description
    --- | --- | ---
    `SecondaryDatabase` | Environment.`openSecondaryDatabase​(Transaction txn, java.lang.String fileName, java.lang.String databaseName, Database primaryDatabase, SecondaryConfig config)` | Open a database.

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

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

    Methods in com.sleepycat.persist that return SecondaryConfig
    Modifier and Type | Method | Description
    --- | --- | ---
    `SecondaryConfig` | EntityStore.`getSecondaryConfig​(java.lang.Class entityClass, java.lang.String keyName)` | Returns the default secondary database Berkeley DB engine API configuration for an entity class and key name.

    Methods in com.sleepycat.persist with parameters of type SecondaryConfig
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | EntityStore.`setSecondaryConfig​(java.lang.Class entityClass, java.lang.String keyName, SecondaryConfig config)` | Configures a secondary database for an entity class and key name using the Berkeley DB engine API.

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