Package net.neoforged.neoforge.transfer.transaction
@ParametersAreNonnullByDefault
package net.neoforged.neoforge.transfer.transaction
-
ClassDescriptionA journal that can be added to a transaction with
SnapshotJournal.updateSnapshots(TransactionContext), and will invoke a callback if/when the root transaction is committed.SnapshotJournal<T extends @Nullable Object>A journal that modifies itself during transactions, saving snapshots of its state in objects of typeTin case it needs to revert to a previous state.A global operation that guarantees either the whole operation succeeds, or it is completely aborted and rolls back.The different possible states of the transaction stack.A subset of aTransactionthat lets journals properly record, manage their state, or open inner transactions, but does not allow them to close the transaction they are passed.Manager for handling opening newTransactionsor querying status of a transaction chain in a given thread.