Interface IBmSingleNamespaceTask<T>

  • 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 interface IBmSingleNamespaceTask<T>
    Task of the BM platform which is bound to a single namespace Should be used for tasks that require communication (read or write) only with a data of a single namespace
    • Method Detail

      • execute

        T execute​(IBmTransaction transaction)

        The method called by the task executor with an active transaction. The method code must not commit or rollback the transaction.

        If the task is not supposed to return a result, then it may be parameterized with Void and return null.

        Parameters:
        transaction - The active transaction. May not be null.
        Returns:
        execution result, may be null.