Class TTLCheck
java.lang.Object
io.micronaut.discovery.consul.client.v1.NewCheck
io.micronaut.discovery.consul.client.v1.TTLCheck
- All Implemented Interfaces:
 Check
Deprecated, for removal: This API element is subject to removal in a future version.
A TTL check.
- Since:
 - 1.0
 - Author:
 - graemerocher
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.discovery.consul.client.v1.Check
Check.Status - 
Constructor Summary
ConstructorsConstructorDescriptionTTLCheck()Deprecated, for removal: This API element is subject to removal in a future version. - 
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.getTtl()Deprecated, for removal: This API element is subject to removal in a future version.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.ttl()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class io.micronaut.discovery.consul.client.v1.NewCheck
deregisterCriticalServiceAfter, deregisterCriticalServiceAfter, deregisterCriticalServiceAfter, getDeregisterCriticalServiceAfter, getID, getName, getNotes, getStatus, id, notes, setDeregisterCriticalServiceAfter, setName, setNotes, setStatus, status, status 
- 
Constructor Details
- 
TTLCheck
public TTLCheck()Deprecated, for removal: This API element is subject to removal in a future version. 
 - 
 - 
Method Details
- 
getTtl
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
 - The optional TTL
 
 - 
ttl
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
 - The interval as a 
Duration 
 - 
ttl
Deprecated, for removal: This API element is subject to removal in a future version. - 
equals
Deprecated, for removal: This API element is subject to removal in a future version. - 
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version. 
 - 
 
ConsulCheckinstead.