public class UDPCleanupRunner extends Object implements Runnable
If they exceed the configurable limit, it removes them from the set.
Constructor and Description |
---|
UDPCleanupRunner(UDPDiscoveryService service) |
Modifier and Type | Method and Description |
---|---|
void |
run()
This goes through the list of services and removes those that we haven't heard from in longer
than the max idle time.
|
public UDPCleanupRunner(UDPDiscoveryService service)
service
- UDPDiscoveryServicepublic void run()
run
in interface Runnable
Runnable.run()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.