Interface AbstractStore.StoreVersionSupplier

  • Enclosing class:
    AbstractStore

    protected static interface AbstractStore.StoreVersionSupplier
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<Version> getForRead()
      This function will return a list of Versions, which are read-only, and any modification against them will throw UnsupportedOperationException.
      java.util.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.
    • Method Detail

      • getForUpdate

        java.util.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

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