public interface VersionedObject<T>
Modifier and Type | Method and Description |
---|---|
VersionedReference<T> |
createReference()
Creates a new VersionedReference that can be used to monitor
when this object changes.
|
T |
getObject()
Returns the object that is being versioned.
|
long |
getVersion()
Returns the current version of the versioned object.
|
long getVersion()
T getObject()
VersionedReference<T> createReference()