org.teleal.cling.registry
Class RegistryMaintainer
java.lang.Object
org.teleal.cling.registry.RegistryMaintainer
- All Implemented Interfaces:
- Runnable
public class RegistryMaintainer
- extends Object
- implements Runnable
Runs periodically and calls RegistryImpl.maintain()
.
- Author:
- Christian Bauer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistryMaintainer
public RegistryMaintainer(RegistryImpl registry)
getSleepIntervalMillis
public int getSleepIntervalMillis()
- Returns:
- The interval between maintenance calls, defaults to 1 second.
stop
public void stop()
run
public void run()
- Specified by:
run
in interface Runnable
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.