public class TraceCollector extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
TraceCollector.PendingTrace |
| Constructor and Description |
|---|
TraceCollector(ConfigService configService,
Collector collector,
Clock clock,
com.google.common.base.Ticker ticker) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Collection<Transaction> |
getPendingTransactions() |
boolean |
shouldStoreError(Transaction transaction) |
boolean |
shouldStoreSlow(Transaction transaction) |
void |
storePartialTrace(Transaction transaction) |
public TraceCollector(ConfigService configService, Collector collector, Clock clock, com.google.common.base.Ticker ticker)
@OnlyUsedByTests public void close() throws InterruptedException
InterruptedExceptionpublic Collection<Transaction> getPendingTransactions()
public boolean shouldStoreError(Transaction transaction)
public boolean shouldStoreSlow(Transaction transaction)
public void storePartialTrace(Transaction transaction)
Copyright © 2011–2020 Glowroot contributors. All rights reserved.