Class EncodeFailedFuture
- java.lang.Object
-
- org.eclipse.jetty.websocket.jsr356.encoders.EncodeFailedFuture
-
-
Constructor Summary
Constructors Constructor Description EncodeFailedFuture(Object data, Encoder encoder, Class<?> encoderType, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel(boolean mayInterruptIfRunning)Voidget()Voidget(long timeout, TimeUnit unit)booleanisCancelled()booleanisDone()
-
-
-
Method Detail
-
cancel
public boolean cancel(boolean mayInterruptIfRunning)
-
get
public Void get() throws InterruptedException, ExecutionException
- Specified by:
getin interfaceFuture<Void>- Throws:
InterruptedExceptionExecutionException
-
get
public Void get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
- Specified by:
getin interfaceFuture<Void>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelledin interfaceFuture<Void>
-
-