public class TtlScheduler extends Object
| Constructor and Description |
|---|
TtlScheduler(HeartbeatProperties heartbeatProperties,
ConsulDiscoveryProperties discoveryProperties,
com.ecwid.consul.v1.ConsulClient client,
ReregistrationPredicate reregistrationPredicate) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(com.ecwid.consul.v1.agent.model.NewService service) |
void |
add(String instanceId)
Add a service to the checks loop.
|
void |
remove(String instanceId) |
public TtlScheduler(HeartbeatProperties heartbeatProperties, ConsulDiscoveryProperties discoveryProperties, com.ecwid.consul.v1.ConsulClient client, ReregistrationPredicate reregistrationPredicate)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.