Class RefreshableAddressProvider.RefreshThread

    • Field Detail

      • f_lRefresh

        protected final long f_lRefresh
        The interval with which to attempt to refresh the address list.
    • Constructor Detail

      • RefreshThread

        protected RefreshThread​(long lRefresh)
        Construct a new RefreshThread with the specified refresh interval.
        Parameters:
        lRefresh - the refresh interval
    • Method Detail

      • run

        public void run()
        The daemon's implementation method. Override this method to implement a daemon.

        An example implementation is:

        
           while (!isStopping())
               {
               // do some processing
               // ...
        
               synchronized (this)
                   {
                   // wait for notification of more work
                   wait();
                   }
               }
         
        Specified by:
        run in interface Runnable
        Specified by:
        run in class Daemon