Interface AbstractStore.StoreVersionSupplier

Enclosing class:
AbstractStore

protected static interface AbstractStore.StoreVersionSupplier
  • Method Summary

    Modifier and Type
    Method
    Description
    This function will return a list of Versions, which are read-only, and any modification against them will throw UnsupportedOperationException.
    This function will return a reference to the internal versions structure, and any change applying to the returned object will be reflected in the referenced Store.
  • Method Details

    • getForUpdate

      List<StoreVersion> getForUpdate()
      This function will return a reference to the internal versions structure, and any change applying to the returned object will be reflected in the referenced Store.
      Returns:
    • getForRead

      List<Version> getForRead()
      This function will return a list of Versions, which are read-only, and any modification against them will throw UnsupportedOperationException.
      Returns: