Class ThreadIdentificationItem


  • public class ThreadIdentificationItem
    extends Object
    Represents the running Thread/Future-Object for the GUI.
    So this class can only hold a "Thread" or a "Future" object.
    It also contains the information if this can be interuptable from gui-side (cancel-button).
    • Constructor Detail

      • ThreadIdentificationItem

        public ThreadIdentificationItem​(Thread thread)
      • ThreadIdentificationItem

        public ThreadIdentificationItem​(Future<?> future)
    • Method Detail

      • getThread

        public Thread getThread()
      • getFuture

        public Future<?> getFuture()
      • isInterruptable

        public boolean isInterruptable()