| Package | Description |
|---|---|
| org.springframework.analytics.metrics | |
| org.springframework.analytics.metrics.memory | |
| org.springframework.analytics.metrics.redis |
| Modifier and Type | Method and Description |
|---|---|
AggregateCounter |
AggregateCounterReader.findOne(String name)
Retrieve a single counter by name.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
AggregateCounter |
InMemoryAggregateCounterRepository.findOne(String name) |
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) |
AggregateCounter |
InMemoryAggregateCounterRepository.save(AggregateCounter counter) |
| Modifier and Type | Method and Description |
|---|---|
AggregateCounter |
InMemoryAggregateCounterRepository.save(AggregateCounter counter) |
| Modifier and Type | Method and Description |
|---|---|
AggregateCounter |
RedisAggregateCounterRepository.findOne(String name) |
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.
|
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.