Class IdleStatusChecker.NotifyingTask

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    IdleStatusChecker

    public class IdleStatusChecker.NotifyingTask
    extends java.lang.Object
    implements java.lang.Runnable
    The class to place in the transport executor for checking the sessions idle
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean cancelled  
      private java.lang.Thread thread  
    • Constructor Summary

      Constructors 
      Constructor Description
      NotifyingTask()
      No qualifier
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()
      stop execution of the task
      private void notifySessions​(long currentTime)  
      void run()
      • Methods inherited from class java.lang.Object

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

      • cancelled

        private volatile boolean cancelled
      • thread

        private volatile java.lang.Thread thread
    • Constructor Detail

      • NotifyingTask

        NotifyingTask()
        No qualifier
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • cancel

        public void cancel()
        stop execution of the task
      • notifySessions

        private void notifySessions​(long currentTime)