code: public final void increaseIdleCount(IdleStatus status, long currentTime) {
          if (status == IdleStatus.BOTH_IDLE) {
              idleCountForBoth.incrementAndGet();
              lastIdleTimeForBoth = currentTime;
          } else if (status == IdleStatus.READER_IDLE) {
              idleCountForRead.incrementAndGet();
              lastIdleTimeForRead = currentTime;
          } else if (status == IdleStatus.WRITER_IDLE) {
              idleCountForWrite.incrementAndGet();
              lastIdleTimeForWrite = currentTime;
          } else {
              throw new IllegalArgumentException("Unknown idle status: " + status);
          }
      }
docs: TODO Add method documentation