Package io.debezium.function
Interface BlockingFunction<T,R>
- Type Parameters:
T
- the type of the input to the functionR
- the type of the result of the function* @author jcechace
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A variant of
Function
that can be blocked and interrupted.-
Method Summary
Modifier and TypeMethodDescriptiondefault <V> BlockingFunction<T,
V> andThen
(BlockingFunction<? super R, ? extends V> after) static <T> BlockingFunction<T,
T> identity()
-
Method Details
-
apply
- Throws:
InterruptedException
-
andThen
-
identity
-