Class RecyclingChannelConsumer<T extends io.activej.common.recycle.Recyclable>

java.lang.Object
io.activej.async.process.AbstractAsyncCloseable
io.activej.csp.AbstractChannelConsumer<T>
io.activej.csp.RecyclingChannelConsumer<T>
All Implemented Interfaces:
io.activej.async.process.AsyncCloseable, ChannelConsumer<T>

public final class RecyclingChannelConsumer<T extends io.activej.common.recycle.Recyclable> extends AbstractChannelConsumer<T>
  • Constructor Details

    • RecyclingChannelConsumer

      public RecyclingChannelConsumer()
  • Method Details

    • doAccept

      protected io.activej.promise.Promise<Void> doAccept(@Nullable T value)
      Specified by:
      doAccept in class AbstractChannelConsumer<T extends io.activej.common.recycle.Recyclable>