com.ibm.cics.server

Class AsyncServiceImpl

  • All Implemented Interfaces:
    AsyncService


    public final class AsyncServiceImpl
    extends API
    implements AsyncService
    This class, implementing AsyncService, provides the Java interfaces to three of the CICS Asynchronous API commands:
    • EXEC CICS RUN TRANSID
    • EXEC CICS FETCH ANY
    • EXEC CICS FREE CHILD
    Since CICS TS version:
    5.4
    Since package version:
    1.700
    • Constructor Summary

      Constructors 
      Constructor and Description
      AsyncServiceImpl()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void freeChild(ChildResponse childResponse)
      Free the CICS memory object representing the specified child.
      void freeChild(java.util.concurrent.Future<ChildResponse> future)
      Free the CICS memory object representing the specified child such that future invocations of Future.get() against this child (if Future.get() has not already been issued) will fail.
      ChildResponse getAny()
      Get the results (in the form of a ChildResponse object) of the first child task which returns to the issuing task.
      ChildResponse getAny(AsyncService.BlockingAction blockingAction)
      Get the results (in the form of a ChildResponse object) of the first child task which returns to the issuing task.
      ChildResponse getAny(long timeout, java.util.concurrent.TimeUnit unit)
      Get the results (in the form of a ChildResponse object) of the first child task which returns to the issuing task.
      java.util.concurrent.Future<ChildResponse> runTransactionId(java.lang.String transactionId)
      Start a child CICS task asynchronously, returning a Future object.
      java.util.concurrent.Future<ChildResponse> runTransactionId(java.lang.String transactionId, Channel channel)
      Start a child CICS task asynchronously, passing a Channel, and returning a Future object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait