com.ibm.cics.server

Class FutureWrapper<V>

  • java.lang.Object
    • java.util.concurrent.FutureTask<V>
      • com.ibm.cics.server.FutureWrapper<V>
  • Type Parameters:
    V - The type
    All Implemented Interfaces:
    java.lang.Runnable, java.util.concurrent.Future<V>, java.util.concurrent.RunnableFuture<V>


    public final class FutureWrapper<V>
    extends java.util.concurrent.FutureTask<V>
    Internal CICS use-only. Not public API. A utility class to extend the FutureTask object so that we can extract the original Callable contained within the FutureTask.
    Since CICS TS version:
    5.3
    Since package version:
    1.601.0
    • Constructor Summary

      Constructors 
      Constructor and Description
      FutureWrapper(java.util.concurrent.Callable<V> callable)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.concurrent.Callable<V> getCallable() 
      • Methods inherited from class java.util.concurrent.FutureTask

        cancel, get, get, isCancelled, isDone, run
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FutureWrapper

        public FutureWrapper(java.util.concurrent.Callable<V> callable)
        Constructor
        Parameters:
        callable - The Callable we're wrapping
    • Method Detail

      • getCallable

        public java.util.concurrent.Callable<V> getCallable()
        Returns:
        the Wrapped Callable