Interface Transaction


public interface Transaction
Transaction
Since:
1.0.0.2
Author:
creatorfromhell
  • Method Details

    • identifier

      Retrieve the identifier associated with this transaction.
      Returns:
      The identifier of the transaction.
    • with

      Creates a new transaction with the provided parameters.
      Parameters:
      parameters - The transaction parameters specifying the details of the new transaction.
      Returns:
      A new Transaction object with the given parameters.
    • execute

      Executes the transaction and returns the result.
      Returns:
      The result of executing the transaction.
    • execute

      Asynchronously executes the transaction and sets the result in the provided CompletableFuture.
      Parameters:
      result - The CompletableFuture to hold the result of executing the transaction.