com.sleepycat.db
Class SequenceConfig

java.lang.Object
  extended by com.sleepycat.db.SequenceConfig
All Implemented Interfaces:
java.lang.Cloneable

public class SequenceConfig
extends java.lang.Object
implements java.lang.Cloneable


Field Summary
static SequenceConfig DEFAULT
           
 
Constructor Summary
SequenceConfig()
           
 
Method Summary
 boolean getAllowCreate()
           
 boolean getAutoCommitNoSync()
           
 int getCacheSize()
           
 boolean getDecrement()
           
 boolean getExclusiveCreate()
           
 long getInitialValue()
           
 long getRangeMax()
           
 long getRangeMin()
           
 boolean getWrap()
           
 void setAllowCreate(boolean allowCreate)
           
 void setAutoCommitNoSync(boolean autoCommitNoSync)
           
 void setCacheSize(int cacheSize)
           
 void setDecrement(boolean decrement)
           
 void setExclusiveCreate(boolean exclusiveCreate)
           
 void setInitialValue(long initialValue)
           
 void setRange(long min, long max)
           
 void setWrap(boolean wrap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final SequenceConfig DEFAULT
Constructor Detail

SequenceConfig

public SequenceConfig()
Method Detail

setAllowCreate

public void setAllowCreate(boolean allowCreate)

getAllowCreate

public boolean getAllowCreate()

setCacheSize

public void setCacheSize(int cacheSize)

getCacheSize

public int getCacheSize()

setDecrement

public void setDecrement(boolean decrement)

getDecrement

public boolean getDecrement()

setExclusiveCreate

public void setExclusiveCreate(boolean exclusiveCreate)

getExclusiveCreate

public boolean getExclusiveCreate()

setInitialValue

public void setInitialValue(long initialValue)

getInitialValue

public long getInitialValue()

setAutoCommitNoSync

public void setAutoCommitNoSync(boolean autoCommitNoSync)

getAutoCommitNoSync

public boolean getAutoCommitNoSync()

setRange

public void setRange(long min,
                     long max)

getRangeMin

public long getRangeMin()

getRangeMax

public long getRangeMax()

setWrap

public void setWrap(boolean wrap)

getWrap

public boolean getWrap()