Uses of Class com.sleepycat.je.SequenceConfig (Oracle - Berkeley DB Java Edition API)
Date: 2014-12-16

## Uses of Class
com.sleepycat.je.SequenceConfig

- Packages that use SequenceConfig
  Package | Description
  --- | ---
  com.sleepycat.je | Foundation for creating environments, databases and transactions; provides cursor based data access.
  com.sleepycat.persist | The Direct Persistence Layer (DPL) adds a persistent object model to the Berkeley DB transactional engine.

- - ### Uses of SequenceConfig in com.sleepycat.je

    Fields in com.sleepycat.je declared as SequenceConfig
    Modifier and Type | Field and Description
    --- | ---
    `static SequenceConfig` | SequenceConfig.`DEFAULT` Default configuration used if null is passed to methods that create a cursor.

    Methods in com.sleepycat.je that return SequenceConfig
    Modifier and Type | Method and Description
    --- | ---
    `SequenceConfig` | SequenceConfig.`clone()` Returns a copy of this configuration object.
    `SequenceConfig` | SequenceConfig.`setAllowCreate(boolean allowCreate)` Configures the `Database.openSequence` method to create the sequence if it does not already exist.
    `SequenceConfig` | SequenceConfig.`setAutoCommitNoSync(boolean autoCommitNoSync)` Configures auto-commit operations on the sequence to not flush the transaction log.
    `SequenceConfig` | SequenceConfig.`setCacheSize(int cacheSize)` Set the Configure the number of elements cached by a sequence handle.
    `SequenceConfig` | SequenceConfig.`setDecrement(boolean decrement)` Specifies that the sequence should be decremented.
    `SequenceConfig` | SequenceConfig.`setExclusiveCreate(boolean exclusiveCreate)` Configures the `Database.openSequence` method to fail if the database already exists.
    `SequenceConfig` | SequenceConfig.`setInitialValue(long initialValue)` Sets the initial value for a sequence.
    `SequenceConfig` | SequenceConfig.`setRange(long min, long max)` Configures a sequence range.
    `SequenceConfig` | SequenceConfig.`setWrap(boolean wrap)` Specifies that the sequence should wrap around when it is incremented (decremented) past the specified maximum (minimum) value.

    Methods in com.sleepycat.je with parameters of type SequenceConfig
    Modifier and Type | Method and Description
    --- | ---
    `Sequence` | Database.`openSequence(Transaction txn, DatabaseEntry key, SequenceConfig config)` Opens a sequence in the database.

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

    Methods in com.sleepycat.persist that return SequenceConfig
    Modifier and Type | Method and Description
    --- | ---
    `SequenceConfig` | EntityStore.`getSequenceConfig(String name)` Returns the default Berkeley DB engine API configuration for a named key sequence.

    Methods in com.sleepycat.persist with parameters of type SequenceConfig
    Modifier and Type | Method and Description
    --- | ---
    `void` | EntityStore.`setSequenceConfig(String name, SequenceConfig config)` Configures a named key sequence using the Berkeley DB engine API.

Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.