code: @Override
      public final long getLastIdleTime(IdleStatus status) {
          if (status == IdleStatus.BOTH_IDLE) {
              return lastIdleTimeForBoth;
          }
  
          if (status == IdleStatus.READER_IDLE) {
              return lastIdleTimeForRead;
          }
  
          if (status == IdleStatus.WRITER_IDLE) {
              return lastIdleTimeForWrite;
          }
  
          throw new IllegalArgumentException("Unknown idle status: " + status);
      }
docs: {@inheritDoc}