Class DynamicCallable<T,​R>

  • Type Parameters:
    T - The type of the params.
    R - The type of the result.
    All Implemented Interfaces:
    java.util.concurrent.Callable<R>

    public abstract class DynamicCallable<T,​R>
    extends java.lang.Object
    implements java.util.concurrent.Callable<R>
    Base class to implement the Callable with parameters.
    • Constructor Summary

      Constructors 
      Constructor Description
      DynamicCallable()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getParams()
      Get the parameters associated with this class.
      void setParams​(T params)
      Set the parameters associated for this class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.concurrent.Callable

        call
    • Constructor Detail

      • DynamicCallable

        public DynamicCallable()
    • Method Detail

      • getParams

        @Nullable
        public T getParams()
        Get the parameters associated with this class.
        Returns:
        The parameters associated with this class.
      • setParams

        public void setParams​(@Nullable
                              T params)
        Set the parameters associated for this class.
        Parameters:
        params - The parameters for this class.