public class GaugeValueDaoWithV09Support extends Object implements GaugeValueDao
| Constructor and Description |
|---|
GaugeValueDaoWithV09Support(Set<String> agentRollupIdsWithV09Data,
long v09LastCaptureTime,
org.glowroot.common.util.Clock clock,
GaugeValueDaoImpl delegate) |
| 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 |
store(String agentId,
List<org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue> gaugeValues) |
void |
truncateAll() |
public GaugeValueDaoWithV09Support(Set<String> agentRollupIdsWithV09Data, long v09LastCaptureTime, org.glowroot.common.util.Clock clock, GaugeValueDaoImpl delegate)
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 store(String agentId, List<org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue> gaugeValues) throws Exception
store in interface GaugeValueDaoException@OnlyUsedByTests
public void truncateAll()
throws Exception
truncateAll in interface GaugeValueDaoExceptionCopyright © 2011–2019 Glowroot contributors. All rights reserved.