187188189190191192193194195196197
*/ protected int doEpollEnter(final long millisTimeout) throws IOException { if (!isOpen()) { log.error("slector is closed"); throw new ClosedSelectorException(); } try { selectLock.lock(); return doEpollExclusive(millisTimeout);
377378379380381382383384385
@SuppressWarnings("unchecked") @Override public Set<SelectionKey> keys() { if (!isOpen()) { throw new ClosedSelectorException(); } return (Set<SelectionKey>) registeredKeySet; }
439440441442443444445446447
@SuppressWarnings("unchecked") @Override public Set<SelectionKey> selectedKeys() { if (!isOpen()) { throw new ClosedSelectorException(); } return (Set<SelectionKey>) selectedKeySet; }
160161162163164165166167168
226227228229230231232233234
244245246247248249250251252253254