- All Superinterfaces:
- org.springframework.data.repository.CrudRepository<M,java.lang.String>, org.springframework.data.repository.Repository<M,java.lang.String>
- All Known Subinterfaces:
- AggregateCounterRepository, CounterRepository, FieldValueCounterRepository, GaugeRepository, RichGaugeRepository
- All Known Implementing Classes:
- InMemoryAggregateCounterRepository, InMemoryCounterRepository, InMemoryFieldValueCounterRepository, InMemoryGaugeRepository, InMemoryMetricRepository, InMemoryRichGaugeRepository, RedisAggregateCounterRepository, RedisCounterRepository, RedisFieldValueCounterRepository, RedisGaugeRepository, RedisRichGaugeRepository
public interface MetricRepository<M extends Metric>
extends org.springframework.data.repository.CrudRepository<M,java.lang.String>
A repository to save, delete and find Metric instances. Uses the Spring Data CrudRepository marker interface and
conventions for method names and behavior.
The name is the id and should be unique.
- Author:
- Mark Pollack, Luke Taylor