public class TtlScheduler extends Object
Modifier and Type | Field and Description |
---|---|
static org.joda.time.DateTime |
EXPIRED_DATE |
Constructor and Description |
---|
TtlScheduler(HeartbeatProperties configuration,
com.ecwid.consul.v1.ConsulClient client) |
Modifier and Type | Method and Description |
---|---|
void |
add(com.ecwid.consul.v1.agent.model.NewService service)
Add a service to the checks loop.
|
void |
remove(String serviceId) |
public TtlScheduler(HeartbeatProperties configuration, com.ecwid.consul.v1.ConsulClient client)
public void add(com.ecwid.consul.v1.agent.model.NewService service)
public void remove(String serviceId)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.