Interface TransactionBody<T>

  • Type Parameters:
    T - the return type

    @Deprecated(since="2021-05-27")
    public interface TransactionBody<T>
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    A functional interface representing the body of a transaction. Implementations of this interface should be idempotent in order to support transaction retry logic.
    Since:
    3.10
    See Also:
    ClientSession.withTransaction(TransactionBody)
    • Method Detail

      • execute

        T execute()
        Deprecated.
        Execute the body of the transaction.
        Returns:
        the result of the transaction body