RecordReaper
Date: 2017-02-10

javax.jmdns.impl.tasks

## Class RecordReaper

- java.lang.Object
- - java.util.TimerTask
  - - javax.jmdns.impl.tasks.DNSTask
    - - javax.jmdns.impl.tasks.RecordReaper

- All Implemented Interfaces:
    java.lang.Runnable

      public class RecordReaper
      extends DNSTask

  Periodically removes expired entries from the cache.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RecordReaper(JmDNSImpl jmDNSImpl)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getName()` Return this task name.
    `void` | `run()`
    `void` | `start(java.util.Timer timer)` Start this task.

    - ### Methods inherited from class javax.jmdns.impl.tasks.DNSTask

      `addAdditionalAnswer, addAnswer, addAnswer, addAuthoritativeAnswer, addQuestion, getDns, toString`

    - ### Methods inherited from class java.util.TimerTask

      `cancel, scheduledExecutionTime`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### RecordReaper

          public RecordReaper(JmDNSImpl jmDNSImpl)

      Parameters:
        `jmDNSImpl` -

  - ### Method Detail

    - #### getName

          public java.lang.String getName()

      Description copied from class: `DNSTask`
      Return this task name.
      Specified by:
        `getName` in class `DNSTask`
      Returns:
        task name

    - #### start

          public void start(java.util.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 `java.lang.Runnable`
      Specified by:
        `run` in class `java.util.TimerTask`