Interface JDataVersionedWrapper

All Superinterfaces:
Data<JDataVersionedWrapper>, MaybeTombstone<JDataVersionedWrapper>
All Known Implementing Classes:
JDataVersionedWrapperImpl, JDataVersionedWrapperLazy

public sealed interface JDataVersionedWrapper extends Data<JDataVersionedWrapper> permits JDataVersionedWrapperLazy, JDataVersionedWrapperImpl
JDataVersionedWrapper is a wrapper for JData that contains its version number (the id of the transaction that had changed it last)
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the wrapped object.
    int
    Returns the estimated size of the object in bytes.
    Get the value.
    long
    Returns the version number of the object.
  • Method Details

    • value

      default JDataVersionedWrapper value()
      Description copied from interface: Data
      Get the value.
      Specified by:
      value in interface Data<JDataVersionedWrapper>
      Returns:
      the value
    • data

      JData data()
      Returns the wrapped object.
      Returns:
      the wrapped object
    • version

      long version()
      Returns the version number of the object.
      Returns:
      the version number of the object
    • estimateSize

      int estimateSize()
      Returns the estimated size of the object in bytes.
      Returns:
      the estimated size of the object in bytes