Class Version

  • All Implemented Interfaces:
    Comparable<Timestamp>, Timestamp

    public class Version
    extends Object
    implements Timestamp
    Logical timestamp for versions.

    The version is a logical timestamp that represents a point in logical time at which an event occurs. This is used in both pessimistic and optimistic locking protocols to ensure that the state of a shared resource has not changed at the end of a transaction.