Lines Matching refs:Future
29 import java.util.concurrent.Future;
118 * of specifying a completion handler, this method returns a {@code Future}
119 * representing the pending result. The {@code Future}'s {@link Future#get()
126 * @return A Future representing the result of the operation
134 Future<Integer> read(ByteBuffer dst);
195 * of specifying a completion handler, this method returns a {@code Future}
196 * representing the pending result. The {@code Future}'s {@link Future#get()
202 * @return A Future representing the result of the operation
208 Future<Integer> write(ByteBuffer src);