@ConfigurationProperties(prefix="spring.cloud.consul.discovery.heartbeat") @Validated public class HeartbeatProperties extends Object
Constructor and Description |
---|
HeartbeatProperties() |
Modifier and Type | Method and Description |
---|---|
protected org.joda.time.Period |
computeHearbeatInterval() |
String |
getTtl() |
void |
init() |
@PostConstruct public void init()
protected org.joda.time.Period computeHearbeatInterval()
public String getTtl()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.