public final SelectableChannel configureBlocking ( boolean block ) throws IOException { synchronized ( regLock ) { if ( ! isOpen ( ) ) throw new ClosedChannelException ( ) ; if ( blocking == block ) return this ; if ( block && haveValidKeys ( ) ) throw new IllegalBlockingModeException ( ) ; implConfigureBlocking ( block ) ; blocking = block ; } return this ; }
Adjusts this channel s blocking mode .