public class AggregateCounterTemplate extends java.lang.Object implements AggregateCounterOperations
AggregateCounterOperations.Resolution
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 |
---|
AggregateCounterTemplate(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() |
AggregateCountsResource |
retrieve(java.lang.String name,
java.util.Date from,
java.util.Date to,
AggregateCounterOperations.Resolution resolution)
Retrieve the information for the given named AggregateCounter
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, list
protected org.springframework.web.client.RestTemplate restTemplate
protected java.util.Map<java.lang.String,org.springframework.hateoas.UriTemplate> resources
public AggregateCounterTemplate(org.springframework.xd.rest.client.impl.AbstractTemplate abstractTemplate)
public AggregateCountsResource retrieve(java.lang.String name, java.util.Date from, java.util.Date to, AggregateCounterOperations.Resolution resolution)
AggregateCounterOperations
retrieve
in interface AggregateCounterOperations
name
- the name of the aggregate counter to retrieve information forpublic org.springframework.hateoas.PagedResources<MetricResource> list()
public void delete(java.lang.String name)