Class LastAccessedThread

  • All Implemented Interfaces:
    Runnable

    public class LastAccessedThread
    extends MyThread

    Created by Jeff Gaynor
    on 3/28/23 at 4:45 PM

    • Field Detail

      • LOCK_ID

        public static String LOCK_ID
    • Method Detail

      • isDebugOn

        public boolean isDebugOn()
      • setDebugOn

        public void setDebugOn​(boolean debugOn)
      • updateStore

        protected void updateStore()
      • isStopThread

        public boolean isStopThread()
        Description copied from class: MyThread
        Is this thread set to stop?
        Overrides:
        isStopThread in class MyThread
        Returns:
      • setStopThread

        public void setStopThread​(boolean stopThread)
        Description copied from class: MyThread
        Sets the flag to stop this thread. The next time the thread wakes up after this is enabled, the thread will exit. This allows for a clean shutdown of caching.
        Overrides:
        setStopThread in class MyThread
      • run

        public void run()
        Specified by:
        run in interface Runnable
        Overrides:
        run in class Thread