public class RichGaugeTemplate extends java.lang.Object implements RichGaugeOperations
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,org.springframework.hateoas.UriTemplate> |
resources
Holds discovered URLs of the API.
|
protected org.springframework.web.client.RestTemplate |
restTemplate
A template used for http interaction.
|
Constructor and Description |
---|
RichGaugeTemplate(org.springframework.xd.rest.client.impl.AbstractTemplate abstractTemplate) |
Modifier and Type | Method and Description |
---|---|
void |
delete(java.lang.String name) |
org.springframework.hateoas.PagedResources<MetricResource> |
list() |
T |
retrieve(java.lang.String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, list, retrieve
protected org.springframework.web.client.RestTemplate restTemplate
protected java.util.Map<java.lang.String,org.springframework.hateoas.UriTemplate> resources
public RichGaugeTemplate(org.springframework.xd.rest.client.impl.AbstractTemplate abstractTemplate)
public T retrieve(java.lang.String name)
public org.springframework.hateoas.PagedResources<MetricResource> list()
public void delete(java.lang.String name)