com.threerings.nio
Interface SelectorIterable.SelectFailureHandler
- Enclosing class:
- SelectorIterable
public static interface SelectorIterable.SelectFailureHandler
An interface for hearing about catastrophic selection failure. If select fails (in a
non-expected way) more than SelectorIterable.MAX_SELECT_FAILURES times in a row, this interface will
be notified. This allows a server to reboot itself in an orderly manner, rather than
continue in an inoperable state.
handleSelectFailure
void handleSelectFailure(Exception e)
- Called to report a select() failure.