| Package | Description |
|---|---|
| org.springframework.analytics.metrics | |
| org.springframework.analytics.metrics.memory | |
| org.springframework.analytics.metrics.redis | |
| org.springframework.analytics.rest.controller |
Package for REST controller classes.
|
| Modifier and Type | Method and Description |
|---|---|
AggregateCounterResolution |
AggregateCounter.getResolution() |
static AggregateCounterResolution |
AggregateCounterResolution.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AggregateCounterResolution[] |
AggregateCounterResolution.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
AggregateCounter |
AggregateCounterReader.getCounts(String name,
int nCounts,
AggregateCounterResolution resolution)
Query function which returns the last 'n' points for a particular resolution.
|
AggregateCounter |
AggregateCounterReader.getCounts(String name,
int nCounts,
org.joda.time.DateTime end,
AggregateCounterResolution resolution)
Queries by requesting a number of points, ending on the given date (inclusive).
|
AggregateCounter |
AggregateCounterReader.getCounts(String name,
org.joda.time.Interval interval,
AggregateCounterResolution resolution)
Query function to allow the counts for a specific interval to be retrieved for the given resolution.
|
| Constructor and Description |
|---|
AggregateCounter(String name,
org.joda.time.Interval interval,
long[] counts,
AggregateCounterResolution resolution) |
| Modifier and Type | Method and Description |
|---|---|
AggregateCounter |
InMemoryAggregateCounterRepository.getCounts(String name,
int nCounts,
AggregateCounterResolution resolution) |
AggregateCounter |
InMemoryAggregateCounterRepository.getCounts(String name,
int nCounts,
org.joda.time.DateTime end,
AggregateCounterResolution resolution) |
AggregateCounter |
InMemoryAggregateCounterRepository.getCounts(String name,
org.joda.time.Interval interval,
AggregateCounterResolution resolution) |
| Modifier and Type | Method and Description |
|---|---|
AggregateCounter |
RedisAggregateCounterRepository.getCounts(String name,
int nCounts,
AggregateCounterResolution resolution) |
AggregateCounter |
RedisAggregateCounterRepository.getCounts(String name,
int nCounts,
org.joda.time.DateTime endDate,
AggregateCounterResolution resolution) |
AggregateCounter |
RedisAggregateCounterRepository.getCounts(String name,
org.joda.time.Interval interval,
AggregateCounterResolution resolution)
For each query, we need to convert the interval into two variations.
|
| Modifier and Type | Method and Description |
|---|---|
AggregateCounterResource |
AggregateCounterController.display(String name,
org.joda.time.DateTime from,
org.joda.time.DateTime to,
AggregateCounterResolution resolution)
Retrieve counts for a given time interval, using some precision.
|
org.springframework.hateoas.PagedResources<AggregateCounterResource> |
AggregateCounterController.list(org.springframework.data.domain.Pageable pageable,
org.springframework.data.web.PagedResourcesAssembler<String> pagedAssembler,
boolean detailed,
org.joda.time.DateTime from,
org.joda.time.DateTime to,
AggregateCounterResolution resolution)
List Counters that match the given criteria.
|
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.