public interface SelectRequest<T>
Modifier and Type | Method and Description |
---|---|
boolean |
matchesMask(int index)
Checks, whether the given index should be queried for value or not.
|
void |
valueFound(int index,
T value)
Invoked, when a value has been found bound to any of the input channels monitored by the select.
|
boolean matchesMask(int index)
index
- The index of the input channel to check for guardvoid valueFound(int index, T value)
index
- The index of the input channelvalue
- The value obtained from the channel