public final class SyncToken
extends java.lang.Object
What this token represents is entirely connector-specific. On some connectors this might be a last-modified value. On others, it might be a unique ID of a log table entry. On others such as JMS, this might be a dummy value since JMS itself keeps track of the state of the sync.
Constructor and Description |
---|
SyncToken(java.lang.Object value)
Creates a new
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getValue()
Returns the value for the token.
|
int |
hashCode() |
java.lang.String |
toString() |
public SyncToken(java.lang.Object value)
value
- May not be null. TODO: define set of allowed value types
(currently same as set of allowed attribute values).public java.lang.Object getValue()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object