Interface IgniteThrowableFunction<E,​R>

  • Type Parameters:
    E - The type of the input to the function.
    R - The type of the result of the function.
    All Superinterfaces:
    Serializable

    public interface IgniteThrowableFunction<E,​R>
    extends Serializable
    Represents a function that accepts one argument and produces a result. Unlike Function it is able to throw IgniteCheckedException.
    • Method Detail

      • apply

        R apply​(E e)
         throws IgniteCheckedException
        Applies this function to the given argument.
        Parameters:
        e - The function argument.
        Returns:
        The function result.
        Throws:
        IgniteCheckedException - if body execution was failed.