code: public static BatchFlusher of(final Channel channel, final EventLoop eventLoop, final int maxPending) {
      return new BatchFlusher(channel, eventLoop, maxPending);
    }
docs: Create a new {@link BatchFlusher}.