code: public final void setAll(IoSessionConfig config) {
          if (config == null) {
              throw new NullPointerException("config");
          }
  
          if (ENABLE_BUFFER_SIZE) {
              System.out.println("AbstractIoSessionConfig.setAll()");
              setReadBufferSize(config.getReadBufferSize());
              setMinReadBufferSize(config.getMinReadBufferSize());
              setMaxReadBufferSize(config.getMaxReadBufferSize());
          }
          
          setIdleTime(IdleStatus.BOTH_IDLE, config.getIdleTime(IdleStatus.BOTH_IDLE));
          setIdleTime(IdleStatus.READER_IDLE, config.getIdleTime(IdleStatus.READER_IDLE));
          setIdleTime(IdleStatus.WRITER_IDLE, config.getIdleTime(IdleStatus.WRITER_IDLE));
          setWriteTimeout(config.getWriteTimeout());
          setUseReadOperation(config.isUseReadOperation());
          setThroughputCalculationInterval(config.getThroughputCalculationInterval());
  
          doSetAll(config);
      }
docs: {@inheritDoc}