Class VersionToken
java.lang.Object
com.inductiveautomation.ignition.gateway.redundancy.types.VersionToken
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVersionToken
(String newId, long revision) VersionToken
(String newId, long revision, Serializable versionDetails) -
Method Summary
Modifier and TypeMethodDescriptionstatic VersionToken
cloneVersion
(VersionToken theVersion) Creates a new instance of a VersionToken object.boolean
compatible
(VersionToken other) boolean
long
This is data that can/will be used by sync providers to provide partial updates.int
hashCode()
Mutates the current revision and returns this, for convenience.static VersionToken
newToken()
toString()
-
Constructor Details
-
VersionToken
-
VersionToken
-
-
Method Details
-
newToken
-
incrementRevision
Mutates the current revision and returns this, for convenience. -
getRevision
public long getRevision() -
getStateId
-
getVersionDetails
This is data that can/will be used by sync providers to provide partial updates. Since it's in the VersionToken, it's passed along with such requests, and can be used to generate a diff. -
compatible
-
toString
-
hashCode
public int hashCode() -
equals
-
cloneVersion
Creates a new instance of a VersionToken object. If the passed VersionToken was null, then a null object is also returned.
-