com.atlassian.bitbucket.concurrent.VersionTracker<K extends java.io.Serializable> |
This interface is deprecated.
in 4.10 for removal in 5.0. Please use TopicService
and
asynchronous messages instead to coordinate changes across the cluster.
Tracks a version against a key. This can be used in a cluster to help track changes to entities across the cluster.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Increments the version for the supplied key
| |||||||||||
Increments all versions for all known keys.
| |||||||||||
Increments the version for the supplied key
Increments all versions for all known keys.
Note: This is potentially an expensive operation, especially in a cluster.