Class RecordReaper

All Implemented Interfaces:
Runnable

public class RecordReaper extends DNSTask
Periodically removes expired entries from the cache.
  • Field Details

    • logger

      static org.slf4j.Logger logger
  • Constructor Details

    • RecordReaper

      public RecordReaper(JmDNSImpl jmDNSImpl)
      Parameters:
      jmDNSImpl -
  • Method Details

    • getName

      public String getName()
      Description copied from class: DNSTask
      Return this task name.
      Specified by:
      getName in class DNSTask
      Returns:
      task name
    • start

      public void start(Timer timer)
      Description copied from class: DNSTask
      Start this task.
      Specified by:
      start in class DNSTask
      Parameters:
      timer - task timer.
    • run

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