Package | Description |
---|---|
com.sleepycat.client | |
com.sleepycat.client.persist |
The Direct Persistence Layer (DPL) adds a persistent object model to the
Berkeley DB transactional engine.
|
Modifier and Type | Method and Description |
---|---|
SSequenceConfig |
SSequenceConfig.setAllowCreate(boolean allowCreate)
Configure the
SDatabase.openSequence(com.sleepycat.client.STransaction, com.sleepycat.client.SDatabaseEntry, com.sleepycat.client.SSequenceConfig) method to
create the sequence if it does not already exist. |
SSequenceConfig |
SSequenceConfig.setAutoCommitNoSync(boolean autoCommitNoSync)
Configure auto-commit operations on the sequence to not flush the
transaction log.
|
SSequenceConfig |
SSequenceConfig.setCacheSize(int cacheSize)
Set the number of elements cached by a sequence handle.
|
SSequenceConfig |
SSequenceConfig.setDecrement(boolean decrement)
Specify that the sequence should be decremented.
|
SSequenceConfig |
SSequenceConfig.setExclusiveCreate(boolean exclusiveCreate)
Configure the
SDatabase.openSequence(com.sleepycat.client.STransaction, com.sleepycat.client.SDatabaseEntry, com.sleepycat.client.SSequenceConfig) method to fail if the
database already exists. |
SSequenceConfig |
SSequenceConfig.setInitialValue(long initialValue)
Set the initial value for a sequence.
|
SSequenceConfig |
SSequenceConfig.setRange(long min,
long max)
Configure a sequence range.
|
SSequenceConfig |
SSequenceConfig.setWrap(boolean wrap)
Specify that the sequence should wrap around when it is incremented
(decremented) past the specified maximum (minimum) value.
|
Modifier and Type | Method and Description |
---|---|
SSequence |
SDatabase.openSequence(STransaction txn,
SDatabaseEntry key,
SSequenceConfig config)
Open a sequence represented by the key in the database.
|
Modifier and Type | Method and Description |
---|---|
SSequenceConfig |
EntityStore.getSequenceConfig(java.lang.String name)
Returns the default Berkeley DB engine API configuration for a named key
sequence.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityStore.setSequenceConfig(java.lang.String name,
SSequenceConfig config)
Configures a named key sequence using the Berkeley DB engine API.
|
Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.