Interface TransactionContext.OuterCloseCallback

All Known Implementing Classes:
SingleFluidStorage, SingleItemStorage, SingleStackStorage, SingleVariantStorage, SnapshotParticipant
Enclosing interface:
TransactionContext
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface TransactionContext.OuterCloseCallback
A callback that is invoked after the outer transaction is closed.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Perform an action after the top-level transaction is closed.
  • Method Details

    • afterOuterClose

      void afterOuterClose(TransactionContext.Result result)
      Perform an action after the top-level transaction is closed.
      Parameters:
      result - The result of the top-level transaction.