Constructor and Description |
---|
EncodeFailedFuture(Object data,
javax.websocket.Encoder encoder,
Class<?> encoderType,
Throwable cause) |
public boolean cancel(boolean mayInterruptIfRunning)
public Void get() throws InterruptedException, ExecutionException
get
in interface Future<Void>
InterruptedException
ExecutionException
public Void get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get
in interface Future<Void>
InterruptedException
ExecutionException
TimeoutException
public boolean isCancelled()
isCancelled
in interface Future<Void>
Copyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.