Interface Node.JarSupplier

Enclosing interface:
Node

public static interface Node.JarSupplier
The future of a transaction that stores a jar in a node.
  • Method Details

    • getReferenceOfRequest

      TransactionReference getReferenceOfRequest()
      Yields the reference of the request of the transaction.
      Returns:
      the reference
    • get

      Waits if necessary for the transaction to complete, and then retrieves its result.
      Returns:
      the reference to the transaction, that can be used to refer to the jar in a class path or as future dependency of other jars
      Throws:
      TransactionRejectedException - if the transaction could not be executed and the store of the node remained unchanged
      TransactionException - if the transaction could be executed and the store of the node has been expanded with a failed transaction