public class HighestIdentifier
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
HighestIdentifier() |
Modifier and Type | Method and Description |
---|---|
long |
get() |
long |
next()
Increment the value
Over-riding methods can throw exceptions
|
void |
setIfHigher(long newValue)
Set the value to the given value if this is higher than the
current value.
|
public void setIfHigher(long newValue) throws SourceConnectorStateException, SourceConnectorIOException
newValue
- the value to be set if it is higher than the
current valueSourceConnectorIOException
SourceConnectorStateException
public long get()
public long next() throws SourceConnectorStateException, SourceConnectorIOException
SourceConnectorIOException
SourceConnectorStateException