public class AggregateCounterTemplate extends Object implements AggregateCounterOperations
AggregateCounterOperations that interacts with the Spring Cloud Data Flow REST API.AggregateCounterOperations.Resolution| Modifier and Type | Field and Description |
|---|---|
static String |
AGGREGATE_COUNTER_COLLECTION_RELATION |
static String |
AGGREGATE_COUNTER_RELATION |
| Constructor and Description |
|---|
AggregateCounterTemplate(RestTemplate restTemplate,
org.springframework.hateoas.ResourceSupport resources) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.hateoas.PagedResources<MetricResource> |
list()
Retrieve basic information (i.e.
|
void |
reset(String name)
Delete the counter with given name.
|
AggregateCounterResource |
retrieve(String name,
Date from,
Date to,
AggregateCounterOperations.Resolution resolution)
Retrieve the information for the given named AggregateCounter
|
public static final String AGGREGATE_COUNTER_COLLECTION_RELATION
public static final String AGGREGATE_COUNTER_RELATION
public AggregateCounterTemplate(RestTemplate restTemplate, org.springframework.hateoas.ResourceSupport resources)
public AggregateCounterResource retrieve(String name, Date from, Date to, AggregateCounterOperations.Resolution resolution)
AggregateCounterOperationsretrieve in interface AggregateCounterOperationsname - the name of the aggregate counter to retrieve information forpublic org.springframework.hateoas.PagedResources<MetricResource> list()
AggregateCounterOperationslist in interface AggregateCounterOperationspublic void reset(String name)
AggregateCounterOperationsreset in interface AggregateCounterOperationsCopyright © 2016 Pivotal Software, Inc.. All rights reserved.