|
Berkeley DB Java Edition version 4.0.117 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SequenceConfig | |
|---|---|
| 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 | |
|---|---|
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 | |
|---|---|
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 | |
|---|---|
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 | |
|---|---|
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 | |
|---|---|
void |
EntityStore.setSequenceConfig(String name,
SequenceConfig config)
Configures a named key sequence using the Berkeley DB engine API. |
|
Berkeley DB Java Edition version 4.0.117 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||