T- the type of the input to the operation
@FunctionalInterface public interface DistributedConsumer<T> extends java.util.function.Consumer<T>, Serializable
Consumeris expected to operate via side-effects.
This is a functional interface
whose functional method is
|Modifier and Type||Method and Description|
Returns a composed
default DistributedConsumer<T> andThen(DistributedConsumer<? super T> after)
Consumerthat performs, in sequence, this operation followed by the
afteroperation. If performing either operation throws an exception, it is relayed to the caller of the composed operation. If performing this operation throws an exception, the
afteroperation will not be performed.
after- the operation to perform after this operation
Consumerthat performs in sequence this operation followed by the
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.