public class InMemoryTelemetryStorage extends Object implements TelemetryStorage
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_LATENCY_BUCKET_COUNT |
static int |
MAX_STREAMING_EVENTS |
static int |
MAX_TAGS |
| Constructor and Description |
|---|
InMemoryTelemetryStorage() |
public static final int MAX_LATENCY_BUCKET_COUNT
public static final int MAX_STREAMING_EVENTS
public static final int MAX_TAGS
public long getBURTimeouts()
getBURTimeouts in interface TelemetryConfigConsumerpublic long getNonReadyUsages()
getNonReadyUsages in interface TelemetryConfigConsumerpublic MethodExceptions popExceptions()
popExceptions in interface TelemetryEvaluationConsumerpublic MethodLatencies popLatencies()
popLatencies in interface TelemetryEvaluationConsumerpublic void recordNonReadyUsage()
recordNonReadyUsage in interface TelemetryConfigProducerpublic void recordBURTimeout()
recordBURTimeout in interface TelemetryConfigProducerpublic void recordLatency(MethodEnum method, long latency)
recordLatency in interface TelemetryEvaluationProducerpublic void recordException(MethodEnum method)
recordException in interface TelemetryEvaluationProducerpublic long getImpressionsStats(ImpressionsDataTypeEnum dataType)
getImpressionsStats in interface TelemetryRuntimeConsumerpublic long getEventStats(EventsDataRecordsEnum dataType)
getEventStats in interface TelemetryRuntimeConsumerpublic LastSynchronization getLastSynchronization()
getLastSynchronization in interface TelemetryRuntimeConsumerpublic HTTPErrors popHTTPErrors()
popHTTPErrors in interface TelemetryRuntimeConsumerpublic HTTPLatencies popHTTPLatencies()
popHTTPLatencies in interface TelemetryRuntimeConsumerpublic long popAuthRejections()
popAuthRejections in interface TelemetryRuntimeConsumerpublic long popTokenRefreshes()
popTokenRefreshes in interface TelemetryRuntimeConsumerpublic List<StreamingEvent> popStreamingEvents()
popStreamingEvents in interface TelemetryRuntimeConsumerpublic List<String> popTags()
popTags in interface TelemetryRuntimeConsumerpublic long getSessionLength()
getSessionLength in interface TelemetryRuntimeConsumerpublic void addTag(String tag)
addTag in interface TelemetryRuntimeProducerpublic void recordImpressionStats(ImpressionsDataTypeEnum dataType, long count)
recordImpressionStats in interface TelemetryRuntimeProducerpublic void recordEventStats(EventsDataRecordsEnum dataType, long count)
recordEventStats in interface TelemetryRuntimeProducerpublic void recordSuccessfulSync(LastSynchronizationRecordsEnum resource, long time)
recordSuccessfulSync in interface TelemetryRuntimeProducerpublic void recordSyncError(ResourceEnum resource, int status)
recordSyncError in interface TelemetryRuntimeProducerpublic void recordSyncLatency(HTTPLatenciesEnum resource, long latency)
recordSyncLatency in interface TelemetryRuntimeProducerpublic void recordAuthRejections()
recordAuthRejections in interface TelemetryRuntimeProducerpublic void recordTokenRefreshes()
recordTokenRefreshes in interface TelemetryRuntimeProducerpublic void recordStreamingEvents(StreamingEvent streamingEvent)
recordStreamingEvents in interface TelemetryRuntimeProducerpublic void recordSessionLength(long sessionLength)
recordSessionLength in interface TelemetryRuntimeProducerCopyright © 2021. All rights reserved.