- All Superinterfaces:
- org.springframework.data.repository.CrudRepository<M,java.lang.String>, org.springframework.data.repository.Repository<M,java.lang.String>
- All Known Subinterfaces:
- CounterRepository, FieldValueCounterRepository, GaugeRepository
- All Known Implementing Classes:
- InMemoryCounterRepository, InMemoryFieldValueCounterRepository, InMemoryGaugeRepository, InMemoryRichGaugeRepository, 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