public class FieldValueCounterTemplate extends Object implements FieldValueCounterOperations
FieldValueCounterOperations that interacts with the Spring
Cloud Data Flow REST API.| Modifier and Type | Field and Description |
|---|---|
static String |
FVC_COLLECTION_RELATION |
static String |
FVC_RELATION |
| Constructor and Description |
|---|
FieldValueCounterTemplate(org.springframework.web.client.RestTemplate restTemplate,
org.springframework.hateoas.ResourceSupport resources) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.hateoas.PagedResources<org.springframework.analytics.rest.domain.MetricResource> |
list()
Retrieve basic information (i.e.
|
void |
reset(String name)
Delete the counter with given name.
|
org.springframework.analytics.rest.domain.FieldValueCounterResource |
retrieve(String name)
Retrieve information about the given named counter.
|
public static final String FVC_COLLECTION_RELATION
public static final String FVC_RELATION
public FieldValueCounterTemplate(org.springframework.web.client.RestTemplate restTemplate,
org.springframework.hateoas.ResourceSupport resources)
public org.springframework.analytics.rest.domain.FieldValueCounterResource retrieve(String name)
FieldValueCounterOperationsretrieve in interface FieldValueCounterOperationsname - the name of the field value counterpublic org.springframework.hateoas.PagedResources<org.springframework.analytics.rest.domain.MetricResource> list()
FieldValueCounterOperationslist in interface FieldValueCounterOperationspublic void reset(String name)
FieldValueCounterOperationsreset in interface FieldValueCounterOperationsname - the name of the field value counterCopyright © 2018 Pivotal Software, Inc.. All rights reserved.