public class AggregateDaoImpl extends Object implements AggregateDao
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasAuxThreadProfile(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query) |
boolean |
hasMainThreadProfile(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query) |
void |
mergeAuxThreadProfilesInto(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query,
org.glowroot.common.model.ProfileCollector collector) |
void |
mergeMainThreadProfilesInto(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query,
org.glowroot.common.model.ProfileCollector collector) |
void |
mergeOverallErrorSummaryInto(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.SummaryQuery query,
org.glowroot.common.model.OverallErrorSummaryCollector collector) |
void |
mergeOverallSummaryInto(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.SummaryQuery query,
org.glowroot.common.model.OverallSummaryCollector collector) |
void |
mergeQueriesInto(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query,
org.glowroot.common.model.QueryCollector collector) |
void |
mergeServiceCallsInto(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query,
org.glowroot.common.model.ServiceCallCollector collector) |
void |
mergeTransactionNameErrorSummariesInto(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.SummaryQuery query,
org.glowroot.common.model.TransactionNameErrorSummaryCollector.ErrorSummarySortOrder sortOrder,
int limit,
org.glowroot.common.model.TransactionNameErrorSummaryCollector collector) |
void |
mergeTransactionNameSummariesInto(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.SummaryQuery query,
org.glowroot.common.model.TransactionNameSummaryCollector.SummarySortOrder sortOrder,
int limit,
org.glowroot.common.model.TransactionNameSummaryCollector collector) |
String |
readFullQueryText(String agentRollupId,
String fullQueryTextSha1) |
List<org.glowroot.common.live.LiveAggregateRepository.OverviewAggregate> |
readOverviewAggregates(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query) |
List<org.glowroot.common.live.LiveAggregateRepository.PercentileAggregate> |
readPercentileAggregates(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query) |
List<org.glowroot.common.live.LiveAggregateRepository.ThroughputAggregate> |
readThroughputAggregates(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query) |
void |
rollup(String agentRollupId) |
void |
rollup(String agentRollupId,
String agentRollupIdForMeta,
String parentAgentRollupId,
boolean leaf) |
boolean |
shouldHaveAuxThreadProfile(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query) |
boolean |
shouldHaveMainThreadProfile(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query) |
boolean |
shouldHaveQueries(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query) |
boolean |
shouldHaveServiceCalls(String agentRollupId,
org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query) |
void |
store(String agentId,
List<String> agentRollupIds,
String agentIdForMeta,
List<String> agentRollupIdsForMeta,
long captureTime,
List<org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType> aggregatesByTypeList,
List<org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText> initialSharedQueryTexts) |
void |
store(String agentId,
long captureTime,
List<org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType> aggregatesByTypeList,
List<org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText> initialSharedQueryTexts) |
void |
truncateAll() |
public boolean hasAuxThreadProfile(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query) throws Exception
hasAuxThreadProfile in interface org.glowroot.common2.repo.AggregateRepositoryExceptionpublic boolean hasMainThreadProfile(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query) throws Exception
hasMainThreadProfile in interface org.glowroot.common2.repo.AggregateRepositoryExceptionpublic void mergeAuxThreadProfilesInto(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query, org.glowroot.common.model.ProfileCollector collector) throws Exception
mergeAuxThreadProfilesInto in interface org.glowroot.common2.repo.AggregateRepositoryExceptionpublic void mergeMainThreadProfilesInto(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query, org.glowroot.common.model.ProfileCollector collector) throws Exception
mergeMainThreadProfilesInto in interface org.glowroot.common2.repo.AggregateRepositoryExceptionpublic void mergeOverallErrorSummaryInto(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.SummaryQuery query, org.glowroot.common.model.OverallErrorSummaryCollector collector) throws Exception
mergeOverallErrorSummaryInto in interface org.glowroot.common2.repo.AggregateRepositoryExceptionpublic void mergeOverallSummaryInto(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.SummaryQuery query, org.glowroot.common.model.OverallSummaryCollector collector) throws Exception
mergeOverallSummaryInto in interface org.glowroot.common2.repo.AggregateRepositoryExceptionpublic void mergeQueriesInto(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query, org.glowroot.common.model.QueryCollector collector) throws Exception
mergeQueriesInto in interface org.glowroot.common2.repo.AggregateRepositoryExceptionpublic void mergeServiceCallsInto(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query, org.glowroot.common.model.ServiceCallCollector collector) throws Exception
mergeServiceCallsInto in interface org.glowroot.common2.repo.AggregateRepositoryExceptionpublic void mergeTransactionNameErrorSummariesInto(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.SummaryQuery query, org.glowroot.common.model.TransactionNameErrorSummaryCollector.ErrorSummarySortOrder sortOrder, int limit, org.glowroot.common.model.TransactionNameErrorSummaryCollector collector) throws Exception
mergeTransactionNameErrorSummariesInto in interface org.glowroot.common2.repo.AggregateRepositoryExceptionpublic void mergeTransactionNameSummariesInto(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.SummaryQuery query, org.glowroot.common.model.TransactionNameSummaryCollector.SummarySortOrder sortOrder, int limit, org.glowroot.common.model.TransactionNameSummaryCollector collector) throws Exception
mergeTransactionNameSummariesInto in interface org.glowroot.common2.repo.AggregateRepositoryExceptionpublic String readFullQueryText(String agentRollupId, String fullQueryTextSha1) throws Exception
readFullQueryText in interface org.glowroot.common2.repo.AggregateRepositoryExceptionpublic List<org.glowroot.common.live.LiveAggregateRepository.OverviewAggregate> readOverviewAggregates(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query) throws Exception
readOverviewAggregates in interface org.glowroot.common2.repo.AggregateRepositoryExceptionpublic List<org.glowroot.common.live.LiveAggregateRepository.PercentileAggregate> readPercentileAggregates(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query) throws Exception
readPercentileAggregates in interface org.glowroot.common2.repo.AggregateRepositoryExceptionpublic List<org.glowroot.common.live.LiveAggregateRepository.ThroughputAggregate> readThroughputAggregates(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query) throws Exception
readThroughputAggregates in interface org.glowroot.common2.repo.AggregateRepositoryExceptionpublic void rollup(String agentRollupId) throws Exception
rollup in interface AggregateDaoExceptionpublic void rollup(String agentRollupId, String agentRollupIdForMeta, String parentAgentRollupId, boolean leaf) throws Exception
Exceptionpublic boolean shouldHaveAuxThreadProfile(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query)
shouldHaveAuxThreadProfile in interface org.glowroot.common2.repo.AggregateRepositorypublic boolean shouldHaveMainThreadProfile(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query)
shouldHaveMainThreadProfile in interface org.glowroot.common2.repo.AggregateRepositorypublic boolean shouldHaveQueries(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query)
shouldHaveQueries in interface org.glowroot.common2.repo.AggregateRepositorypublic boolean shouldHaveServiceCalls(String agentRollupId, org.glowroot.common.live.LiveAggregateRepository.AggregateQuery query)
shouldHaveServiceCalls in interface org.glowroot.common2.repo.AggregateRepositorypublic void store(String agentId, List<String> agentRollupIds, String agentIdForMeta, List<String> agentRollupIdsForMeta, long captureTime, List<org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType> aggregatesByTypeList, List<org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText> initialSharedQueryTexts) throws Exception
Exceptionpublic void store(String agentId, long captureTime, List<org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType> aggregatesByTypeList, List<org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText> initialSharedQueryTexts) throws Exception
store in interface AggregateDaoException@OnlyUsedByTests
public void truncateAll()
throws Exception
truncateAll in interface AggregateDaoExceptionCopyright © 2011–2019 Glowroot contributors. All rights reserved.