Class TaskEntryFuture<T>

  • All Implemented Interfaces:
    java.util.concurrent.Future<T>

    @Deprecated
    @UnsafeClass
    public class TaskEntryFuture<T>
    extends java.lang.Object
    implements java.util.concurrent.Future<T>
    Deprecated.
    This class, will be removed in the future, and exchanged for a new TaskScheduler with the support of the ITask class.
    See Also:
    ITask, TaskScheduler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private TaskEntry<T> entry
      Deprecated.
       
      protected boolean waits
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      TaskEntryFuture​(boolean waits, TaskEntry<T> entry)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean cancel​(boolean pMayInterruptIfRunning)
      Deprecated.
       
      T get()
      Deprecated.
       
      T get​(long pTimeout, java.util.concurrent.TimeUnit pUnit)
      Deprecated.
       
      TaskEntry<T> getEntry()
      Deprecated.
       
      boolean isCancelled()
      Deprecated.
       
      boolean isDone()
      Deprecated.
       
      boolean isWaits()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • waits

        protected volatile boolean waits
        Deprecated.
    • Constructor Detail

      • TaskEntryFuture

        public TaskEntryFuture​(boolean waits,
                               TaskEntry<T> entry)
        Deprecated.
    • Method Detail

      • isWaits

        public boolean isWaits()
        Deprecated.
      • getEntry

        public TaskEntry<T> getEntry()
        Deprecated.
      • cancel

        public boolean cancel​(boolean pMayInterruptIfRunning)
        Deprecated.
        Specified by:
        cancel in interface java.util.concurrent.Future<T>
      • isCancelled

        public boolean isCancelled()
        Deprecated.
        Specified by:
        isCancelled in interface java.util.concurrent.Future<T>
      • isDone

        public boolean isDone()
        Deprecated.
        Specified by:
        isDone in interface java.util.concurrent.Future<T>
      • get

        public T get()
              throws java.lang.InterruptedException
        Deprecated.
        Specified by:
        get in interface java.util.concurrent.Future<T>
        Throws:
        java.lang.InterruptedException
      • get

        public T get​(long pTimeout,
                     java.util.concurrent.TimeUnit pUnit)
              throws java.lang.InterruptedException
        Deprecated.
        Specified by:
        get in interface java.util.concurrent.Future<T>
        Throws:
        java.lang.InterruptedException