public class CICSFuture extends API implements java.util.concurrent.Future<ChildResponse>
Future
. Its
objects are returned by AsyncService.runTransactionId(String)
.Modifier and Type | Method and Description |
---|---|
boolean |
cancel(boolean mayInterruptIfRunning)
This method, suggesting the purge of a CICS task, is not supported.
|
boolean |
equals(java.lang.Object obj)
|
ChildResponse |
get()
Block the current thread until the child task completes.
|
ChildResponse |
get(long timeout,
java.util.concurrent.TimeUnit unit)
Block the current thread until the child task completes, or the timeout
expires.
|
int |
hashCode() |
boolean |
isCancelled()
This method is not supported.
|
boolean |
isDone()
Check if the child task has finished, without blocking the current thread.
|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean cancel(boolean mayInterruptIfRunning)
cancel
in interface java.util.concurrent.Future<ChildResponse>
Future.cancel(boolean)
public ChildResponse get() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
get
in interface java.util.concurrent.Future<ChildResponse>
java.lang.InterruptedException
java.util.concurrent.ExecutionException
Future.get()
public ChildResponse get(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
get
in interface java.util.concurrent.Future<ChildResponse>
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
Future.get(long, java.util.concurrent.TimeUnit)
public boolean isCancelled()
isCancelled
in interface java.util.concurrent.Future<ChildResponse>
Future.isCancelled()
public boolean isDone()
isDone
in interface java.util.concurrent.Future<ChildResponse>
Future.isDone()