Minor fixes to the documentation.

This commit is contained in:
Boris Grozev 2016-05-20 11:35:00 -05:00
parent 7312077fd9
commit e4f5534b3d

View File

@ -1098,8 +1098,8 @@ public class TcpHarvester
} }
/** /**
* Adds the channels from {@link #newChannels} to {@link #channels} and * Registers the channels from {@link #newChannels} in
* registers them in {@link #readSelector}. * {@link #readSelector}.
*/ */
private void checkForNewChannels() private void checkForNewChannels()
{ {
@ -1126,8 +1126,11 @@ public class TcpHarvester
} }
/** /**
* Checks {@link #channels} for channels which have been added over * Closes any inactive channels registered with {@link #readSelector}.
* {@link #READ_TIMEOUT} milliseconds ago and closes them. * A channel is considered inactive if it hasn't been available for
* reading for
* {@link MuxServerSocketChannelFactory#SOCKET_CHANNEL_READ_TIMEOUT}
* milliseconds.
*/ */
private void cleanup() private void cleanup()
{ {