Package org.eclipse.jetty.io
Interface ManagedSelector.Selectable
-
- All Known Implementing Classes:
ChannelEndPoint
,NetworkTrafficSelectChannelEndPoint
,NetworkTrafficSocketChannelEndPoint
,SelectChannelEndPoint
,SocketChannelEndPoint
- Enclosing class:
- ManagedSelector
@Deprecated(since="2021-05-27") public static interface ManagedSelector.Selectable
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.AManagedSelector.Selectable
is anEndPoint
that wish to be notified of non-blocking events by theManagedSelector
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.Runnable
onSelected()
Deprecated.Callback method invoked when a read or write events has been detected by theManagedSelector
for this endpoint.void
replaceKey(java.nio.channels.SelectionKey newKey)
Deprecated.Callback method invoked when the SelectionKey is replaced because the channel has been moved to a new selector.void
updateKey()
Deprecated.Callback method invoked when all the keys selected by theManagedSelector
for this endpoint have been processed.
-
-
-
Method Detail
-
onSelected
java.lang.Runnable onSelected()
Deprecated.Callback method invoked when a read or write events has been detected by theManagedSelector
for this endpoint.- Returns:
- a job that may block or null
-
updateKey
void updateKey()
Deprecated.Callback method invoked when all the keys selected by theManagedSelector
for this endpoint have been processed.
-
replaceKey
void replaceKey(java.nio.channels.SelectionKey newKey)
Deprecated.Callback method invoked when the SelectionKey is replaced because the channel has been moved to a new selector.- Parameters:
newKey
- the new SelectionKey
-
-