public class RepoAdminImpl extends Object implements org.glowroot.common2.repo.RepoAdmin
org.glowroot.common2.repo.RepoAdmin.CassandraWriteTotals, org.glowroot.common2.repo.RepoAdmin.H2Table, org.glowroot.common2.repo.RepoAdmin.TraceCount, org.glowroot.common2.repo.RepoAdmin.TraceCounts, org.glowroot.common2.repo.RepoAdmin.TraceOverallCount| Constructor and Description |
|---|
RepoAdminImpl(Session session,
ActiveAgentDao activeAgentDao,
ConfigRepositoryImpl configRepository,
CassandraWriteMetrics cassandraWriteMetrics,
org.glowroot.common.util.Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
List<org.glowroot.common2.repo.RepoAdmin.H2Table> |
analyzeH2DiskSpace() |
org.glowroot.common2.repo.RepoAdmin.TraceCounts |
analyzeTraceCounts() |
void |
compactH2Data() |
void |
defragH2Data() |
void |
deleteAllData() |
List<org.glowroot.common2.repo.RepoAdmin.CassandraWriteTotals> |
getCassandraWriteTotalsPerAgentRollup(String tableName,
int limit) |
List<org.glowroot.common2.repo.RepoAdmin.CassandraWriteTotals> |
getCassandraWriteTotalsPerTable(int limit) |
List<org.glowroot.common2.repo.RepoAdmin.CassandraWriteTotals> |
getCassandraWriteTotalsPerTransactionName(String tableName,
String agentRollupId,
String transactionType,
int limit) |
List<org.glowroot.common2.repo.RepoAdmin.CassandraWriteTotals> |
getCassandraWriteTotalsPerTransactionType(String tableName,
String agentRollupId,
int limit) |
long |
getH2DataFileSize() |
void |
resizeIfNeeded() |
void |
runHealthCheck() |
int |
updateCassandraTwcsWindowSizes() |
public RepoAdminImpl(Session session, ActiveAgentDao activeAgentDao, ConfigRepositoryImpl configRepository, CassandraWriteMetrics cassandraWriteMetrics, org.glowroot.common.util.Clock clock)
public List<org.glowroot.common2.repo.RepoAdmin.H2Table> analyzeH2DiskSpace()
analyzeH2DiskSpace in interface org.glowroot.common2.repo.RepoAdminpublic org.glowroot.common2.repo.RepoAdmin.TraceCounts analyzeTraceCounts()
analyzeTraceCounts in interface org.glowroot.common2.repo.RepoAdminpublic void compactH2Data()
compactH2Data in interface org.glowroot.common2.repo.RepoAdminpublic void defragH2Data()
defragH2Data in interface org.glowroot.common2.repo.RepoAdminpublic void deleteAllData()
deleteAllData in interface org.glowroot.common2.repo.RepoAdminpublic List<org.glowroot.common2.repo.RepoAdmin.CassandraWriteTotals> getCassandraWriteTotalsPerAgentRollup(String tableName, int limit)
getCassandraWriteTotalsPerAgentRollup in interface org.glowroot.common2.repo.RepoAdminpublic List<org.glowroot.common2.repo.RepoAdmin.CassandraWriteTotals> getCassandraWriteTotalsPerTable(int limit)
getCassandraWriteTotalsPerTable in interface org.glowroot.common2.repo.RepoAdminpublic List<org.glowroot.common2.repo.RepoAdmin.CassandraWriteTotals> getCassandraWriteTotalsPerTransactionName(String tableName, String agentRollupId, String transactionType, int limit)
getCassandraWriteTotalsPerTransactionName in interface org.glowroot.common2.repo.RepoAdminpublic List<org.glowroot.common2.repo.RepoAdmin.CassandraWriteTotals> getCassandraWriteTotalsPerTransactionType(String tableName, String agentRollupId, int limit)
getCassandraWriteTotalsPerTransactionType in interface org.glowroot.common2.repo.RepoAdminpublic long getH2DataFileSize()
getH2DataFileSize in interface org.glowroot.common2.repo.RepoAdminpublic void resizeIfNeeded()
resizeIfNeeded in interface org.glowroot.common2.repo.RepoAdminpublic void runHealthCheck()
throws Exception
runHealthCheck in interface org.glowroot.common2.repo.RepoAdminExceptionCopyright © 2011–2019 Glowroot contributors. All rights reserved.