org.apache.cxf.jaxws
Class AsyncCallbackFuture
java.lang.Object
org.apache.cxf.jaxws.AsyncCallbackFuture
- All Implemented Interfaces:
- java.lang.Runnable, java.util.concurrent.Future
public class AsyncCallbackFuture
- extends java.lang.Object
- implements java.lang.Runnable, java.util.concurrent.Future
|
Method Summary |
boolean |
cancel(boolean interrupt)
|
java.lang.Object |
get()
|
java.lang.Object |
get(long timeout,
java.util.concurrent.TimeUnit unit)
|
boolean |
isCancelled()
|
boolean |
isDone()
|
void |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsyncCallbackFuture
public AsyncCallbackFuture(javax.xml.ws.Response r,
javax.xml.ws.AsyncHandler c)
run
public void run()
- Specified by:
run in interface java.lang.Runnable
cancel
public boolean cancel(boolean interrupt)
- Specified by:
cancel in interface java.util.concurrent.Future
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled in interface java.util.concurrent.Future
isDone
public boolean isDone()
- Specified by:
isDone in interface java.util.concurrent.Future
get
public java.lang.Object get()
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException
- Specified by:
get in interface java.util.concurrent.Future
- Throws:
java.lang.InterruptedException
java.util.concurrent.ExecutionException
get
public java.lang.Object get(long timeout,
java.util.concurrent.TimeUnit unit)
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException,
java.util.concurrent.TimeoutException
- Specified by:
get in interface java.util.concurrent.Future
- Throws:
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.