Class VersionedValueUncommitted<T>

    • Field Detail

      • operationId

        private final long operationId
      • committedValue

        private final T committedValue
    • Constructor Detail

      • VersionedValueUncommitted

        private VersionedValueUncommitted​(long operationId,
                                          T value,
                                          T committedValue)
    • Method Detail

      • getInstance

        static <X> VersionedValue<X> getInstance​(long operationId,
                                                 X value,
                                                 X committedValue)
        Create new VersionedValueUncommitted.
        Type Parameters:
        X - type of the value to get the VersionedValue for
        Parameters:
        operationId - combined log/transaction id
        value - value before commit
        committedValue - value after commit
        Returns:
        VersionedValue instance