public class GaugeValueDaoImpl extends Object implements GaugeValueDao
| Modifier and Type | Method and Description |
|---|---|
List<org.glowroot.common2.repo.GaugeValueRepository.Gauge> |
getGauges(String agentRollupId,
long from,
long to) |
long |
getOldestCaptureTime(String agentRollupId,
String gaugeName,
int rollupLevel) |
List<org.glowroot.common2.repo.GaugeValueRepository.Gauge> |
getRecentlyActiveGauges(String agentRollupId) |
List<org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue> |
readGaugeValues(String agentRollupId,
String gaugeName,
long from,
long to,
int rollupLevel) |
void |
rollup(String agentRollupId) |
void |
rollup(String agentRollupId,
String parentAgentRollupId,
boolean leaf) |
void |
store(String agentId,
List<org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue> gaugeValues) |
void |
store(String agentId,
List<String> agentRollupIdsForMeta,
List<org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue> gaugeValues) |
void |
truncateAll() |
public List<org.glowroot.common2.repo.GaugeValueRepository.Gauge> getGauges(String agentRollupId, long from, long to) throws Exception
getGauges in interface org.glowroot.common2.repo.GaugeValueRepositoryExceptionpublic long getOldestCaptureTime(String agentRollupId, String gaugeName, int rollupLevel) throws Exception
getOldestCaptureTime in interface org.glowroot.common2.repo.GaugeValueRepositoryExceptionpublic List<org.glowroot.common2.repo.GaugeValueRepository.Gauge> getRecentlyActiveGauges(String agentRollupId) throws Exception
getRecentlyActiveGauges in interface org.glowroot.common2.repo.GaugeValueRepositoryExceptionpublic List<org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue> readGaugeValues(String agentRollupId, String gaugeName, long from, long to, int rollupLevel) throws Exception
readGaugeValues in interface org.glowroot.common2.repo.GaugeValueRepositoryExceptionpublic void rollup(String agentRollupId) throws Exception
rollup in interface GaugeValueDaoExceptionpublic void rollup(String agentRollupId, String parentAgentRollupId, boolean leaf) throws Exception
Exceptionpublic void store(String agentId, List<org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue> gaugeValues) throws Exception
store in interface GaugeValueDaoExceptionpublic void store(String agentId, List<String> agentRollupIdsForMeta, List<org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue> gaugeValues) throws Exception
Exception@OnlyUsedByTests
public void truncateAll()
throws Exception
truncateAll in interface GaugeValueDaoExceptionCopyright © 2011–2019 Glowroot contributors. All rights reserved.