@FunctionalInterface public interface DistributedLongConsumer extends LongConsumer, Serializable
Serializable variant of java.util.function.LongConsumer which declares checked exception.| Modifier and Type | Method and Description |
|---|---|
default void |
accept(long value) |
void |
acceptEx(long value)
Exception-declaring version of
LongConsumer.accept(long). |
default DistributedLongConsumer |
andThen(DistributedLongConsumer after)
Serializable variant of
java.util.function.LongConsumer#andThen(LongConsumer). |
andThenvoid acceptEx(long value)
throws Exception
LongConsumer.accept(long).Exceptiondefault void accept(long value)
accept in interface LongConsumerdefault DistributedLongConsumer andThen(DistributedLongConsumer after)
Serializable variant of
java.util.function.LongConsumer#andThen(LongConsumer).Copyright © 2018 Hazelcast, Inc.. All rights reserved.