com.sleepycat.db

Class SequenceConfig

public class SequenceConfig extends Object implements Cloneable

Field Summary
static SequenceConfigDEFAULT
Constructor Summary
SequenceConfig()
Method Summary
booleangetAllowCreate()
booleangetAutoCommitNoSync()
intgetCacheSize()
booleangetDecrement()
booleangetExclusiveCreate()
longgetInitialValue()
longgetRangeMax()
longgetRangeMin()
booleangetWrap()
voidsetAllowCreate(boolean allowCreate)
voidsetAutoCommitNoSync(boolean autoCommitNoSync)
voidsetCacheSize(int cacheSize)
voidsetDecrement(boolean decrement)
voidsetExclusiveCreate(boolean exclusiveCreate)
voidsetInitialValue(long initialValue)
voidsetRange(long min, long max)
voidsetWrap(boolean wrap)

Field Detail

DEFAULT

public static final SequenceConfig DEFAULT

Constructor Detail

SequenceConfig

public SequenceConfig()

Method Detail

getAllowCreate

public boolean getAllowCreate()

getAutoCommitNoSync

public boolean getAutoCommitNoSync()

getCacheSize

public int getCacheSize()

getDecrement

public boolean getDecrement()

getExclusiveCreate

public boolean getExclusiveCreate()

getInitialValue

public long getInitialValue()

getRangeMax

public long getRangeMax()

getRangeMin

public long getRangeMin()

getWrap

public boolean getWrap()

setAllowCreate

public void setAllowCreate(boolean allowCreate)

setAutoCommitNoSync

public void setAutoCommitNoSync(boolean autoCommitNoSync)

setCacheSize

public void setCacheSize(int cacheSize)

setDecrement

public void setDecrement(boolean decrement)

setExclusiveCreate

public void setExclusiveCreate(boolean exclusiveCreate)

setInitialValue

public void setInitialValue(long initialValue)

setRange

public void setRange(long min, long max)

setWrap

public void setWrap(boolean wrap)