Interface IVersionable
An interface for versionable data.
Namespace: Tangosol.Util
Assembly: Coherence.dll
Syntax
public interface IVersionable
Properties
VersionIndicator
Get the version indicator for this object.
Declaration
IComparable VersionIndicator { get; }
Property Value
Type | Description |
---|---|
IComparable | A non- |
Remarks
The version indicator should be an immutable object or one treated as an immutable, which is to say that after the version is incremented, the previous version's indicator reference will never be returned again.
Methods
IncrementVersion()
Update the version to the next logical version indicator.
Declaration
void IncrementVersion()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | If the object is immutable or if the object does not know how to increment its own version indicator. |