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:
- Runnable
public class RecordReaper
- extends DNSTask
Periodically removes expired entries from the cache.
RecordReaper
public RecordReaper(JmDNSImpl jmDNSImpl)
- Parameters:
jmDNSImpl
-
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
Copyright © 2002-2011 JmDNS. All Rights Reserved.