Fixed a bug where DefaultNioSocketChannelConfig does not recognize 'receiveBufferSizePredictorFactory' option

This commit is contained in:
Trustin Lee 2010-01-26 15:41:16 +00:00
parent 9d2fcd6ff3
commit aff9af5af2

View File

@ -81,6 +81,8 @@ class DefaultNioSocketChannelConfig extends DefaultSocketChannelConfig
setWriteBufferLowWaterMark0(ConversionUtil.toInt(value));
} else if (key.equals("writeSpinCount")) {
setWriteSpinCount(ConversionUtil.toInt(value));
} else if (key.equals("receiveBufferSizePredictorFactory")) {
setReceiveBufferSizePredictorFactory((ReceiveBufferSizePredictorFactory) value);
} else if (key.equals("receiveBufferSizePredictor")) {
setReceiveBufferSizePredictor((ReceiveBufferSizePredictor) value);
} else {