Package 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.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description RecordReaper(JmDNSImpl jmDNSImpl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Return this task name.voidrun()voidstart(java.util.Timer timer)Start this task.-
Methods inherited from class javax.jmdns.impl.tasks.DNSTask
addAdditionalAnswer, addAnswer, addAnswer, addAuthoritativeAnswer, addQuestion, getDns, toString
-
-
-
-
Constructor Detail
-
RecordReaper
public RecordReaper(JmDNSImpl jmDNSImpl)
- Parameters:
jmDNSImpl-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:DNSTaskReturn this task name.
-
start
public void start(java.util.Timer timer)
Description copied from class:DNSTaskStart this task.
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable- Specified by:
runin classjava.util.TimerTask
-
-