private static < V > ListenableFuture < V > closedChannelFuture ( ) { SettableFuture < V > future = SettableFuture . create ( ) ; future . setException ( new ClosedChannelException ( ) ) ; return future ; }
Immediate future indicating that the channel is closed .