com.amazon.carbonado.spi
Interface StoredSequence

All Superinterfaces:
Storable<StoredSequence>

Deprecated. Replaced by StoredSequence

@Deprecated
@PrimaryKey(value="name")
@Authoritative
@Independent
@Alias(value="CARBONADO_SEQUENCE")
public interface StoredSequence
extends Storable<StoredSequence>

Stores data for SequenceValueGenerator.

Author:
Brian S O'Neill

Method Summary
 long getInitialValue()
          Deprecated. Returns the initial value for the sequence.
 String getName()
          Deprecated.  
 long getNextValue()
          Deprecated. Returns the pre-adjusted next value of the sequence.
 void setInitialValue(long value)
          Deprecated.  
 void setName(String name)
          Deprecated.  
 void setNextValue(long value)
          Deprecated.  
 
Methods inherited from interface com.amazon.carbonado.Storable
copy, copyAllProperties, copyDirtyProperties, copyPrimaryKeyProperties, copyUnequalProperties, copyVersionProperty, delete, equalPrimaryKeys, equalProperties, equals, getPropertyValue, hasDirtyProperties, hashCode, insert, isPropertyClean, isPropertyDirty, isPropertySupported, isPropertyUninitialized, load, markAllPropertiesClean, markAllPropertiesDirty, markPropertiesClean, markPropertiesDirty, prepare, propertyMap, readFrom, setPropertyValue, storableType, toString, toStringKeyOnly, tryDelete, tryInsert, tryLoad, tryUpdate, update, writeTo
 

Method Detail

getName

String getName()
Deprecated. 

setName

void setName(String name)
Deprecated. 

getInitialValue

long getInitialValue()
Deprecated. 
Returns the initial value for the sequence.


setInitialValue

void setInitialValue(long value)
Deprecated. 

getNextValue

long getNextValue()
Deprecated. 
Returns the pre-adjusted next value of the sequence. This value is initially Long.MIN_VALUE, and it increments up to Long.MAX_VALUE. The actual next value for the sequence is: (getNextValue() + Long.MIN_VALUE + getInitialValue()).


setNextValue

void setNextValue(long value)
Deprecated. 


Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.