com.hazelcast.jet.function

## Interface DistributedConsumer<T>

- All Superinterfaces:
    Consumer<T>, Serializable
  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 DistributedConsumer<T>
      extends Consumer<T>, Serializable

  `Serializable` variant of `java.util.function.Consumer` which declares checked exception.

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default void` | `accept(T t)`
    `void` | `acceptEx(T t)` Exception-declaring version of `Consumer.accept(T)`
    `default DistributedConsumer<T>` | `andThen(DistributedConsumer<? super T> after)` `Serializable` variant of `java.util.function.Consumer#andThen(Consumer)`.
    `static <T> DistributedConsumer<T>` | `noop()` Returns a consumer that does nothing.

    - ### Methods inherited from interface java.util.function.Consumer

      `andThen`

- - ### Method Detail

    - #### acceptEx

          void acceptEx(T t)
                 throws Exception

      Exception-declaring version of `Consumer.accept(T)`
      Throws:
        `Exception`

    - #### accept

          default void accept(T t)

      Specified by:
        `accept` in interface `Consumer<T>`

    - #### andThen

          default DistributedConsumer<T> andThen(DistributedConsumer<? super T> after)

      `Serializable` variant of `java.util.function.Consumer#andThen(Consumer)`.

    - #### noop

          static <T> DistributedConsumer<T> noop()

      Returns a consumer that does nothing.

Copyright © 2018. All rights reserved.