code: public EpollMode getEpollMode() {
          return ((AbstractEpollChannel) channel).isFlagSet(Native.EPOLLET)
                  ? EpollMode.EDGE_TRIGGERED : EpollMode.LEVEL_TRIGGERED;
      }
docs: Return the {@link EpollMode} used. Default is
  {@link EpollMode#EDGE_TRIGGERED}. If you want to use {@link #isAutoRead()} {@code false} or
  {@link #getMaxMessagesPerRead()} and have an accurate behaviour you should use
  {@link EpollMode#LEVEL_TRIGGERED}.