Java Code Examples for

The following are Jave code examples for showing how to use setFailure() of the class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: nfs-client-java   File:   Source Code and License Vote up 4 votes
 * Notify all the senders of all pending requests
protected void notifyAllPendingSenders(String message) {
    for (ChannelFuture future : _futureMap.values()) {
        future.setFailure(new Error(message));