com.synametrics.commons.util.logging
Class SequenceValue

java.lang.Object
  |
  +--com.synametrics.commons.util.logging.SequenceValue

class SequenceValue
extends java.lang.Object

This class holds a long value which represents the sequence number. The reason for creating this class rather than putting a Long in the hashtable is that I don't have to recreate the object every time a new number is asked for. The Long class does not allow you to change its value.


Field Summary
(package private)  long value
           
 
Constructor Summary
(package private) SequenceValue()
           
 
Method Summary
(package private)  long getValue()
           
(package private)  long incValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

long value
Constructor Detail

SequenceValue

SequenceValue()
Method Detail

getValue

long getValue()

incValue

long incValue()