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)
AggregateCounterOperations
retrieve
in interface AggregateCounterOperations
name
- the name of the aggregate counter to retrieve information forpublic org.springframework.hateoas.PagedResources<MetricResource> list()
AggregateCounterOperations
list
in interface AggregateCounterOperations
public void reset(String name)
AggregateCounterOperations
reset
in interface AggregateCounterOperations
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.