Package io.split.telemetry.storage
Class NoopTelemetryStorage
- java.lang.Object
-
- io.split.telemetry.storage.NoopTelemetryStorage
-
- All Implemented Interfaces:
TelemetryConfigConsumer,TelemetryConfigProducer,TelemetryEvaluationConsumer,TelemetryEvaluationProducer,TelemetryRuntimeConsumer,TelemetryRuntimeProducer,TelemetryStorage,TelemetryStorageConsumer,TelemetryStorageProducer
public class NoopTelemetryStorage extends Object implements TelemetryStorage
-
-
Constructor Summary
Constructors Constructor Description NoopTelemetryStorage()
-
Method Summary
-
-
-
Method Detail
-
recordNonReadyUsage
public void recordNonReadyUsage()
- Specified by:
recordNonReadyUsagein interfaceTelemetryConfigProducer
-
recordBURTimeout
public void recordBURTimeout()
- Specified by:
recordBURTimeoutin interfaceTelemetryConfigProducer
-
recordLatency
public void recordLatency(MethodEnum method, long latency)
- Specified by:
recordLatencyin interfaceTelemetryEvaluationProducer
-
recordException
public void recordException(MethodEnum method)
- Specified by:
recordExceptionin interfaceTelemetryEvaluationProducer
-
addTag
public void addTag(String tag)
- Specified by:
addTagin interfaceTelemetryRuntimeProducer
-
recordImpressionStats
public void recordImpressionStats(ImpressionsDataTypeEnum dataType, long count)
- Specified by:
recordImpressionStatsin interfaceTelemetryRuntimeProducer
-
recordEventStats
public void recordEventStats(EventsDataRecordsEnum dataType, long count)
- Specified by:
recordEventStatsin interfaceTelemetryRuntimeProducer
-
recordSuccessfulSync
public void recordSuccessfulSync(LastSynchronizationRecordsEnum resource, long time)
- Specified by:
recordSuccessfulSyncin interfaceTelemetryRuntimeProducer
-
recordSyncError
public void recordSyncError(ResourceEnum resource, int status)
- Specified by:
recordSyncErrorin interfaceTelemetryRuntimeProducer
-
recordSyncLatency
public void recordSyncLatency(HTTPLatenciesEnum resource, long latency)
- Specified by:
recordSyncLatencyin interfaceTelemetryRuntimeProducer
-
recordAuthRejections
public void recordAuthRejections()
- Specified by:
recordAuthRejectionsin interfaceTelemetryRuntimeProducer
-
recordTokenRefreshes
public void recordTokenRefreshes()
- Specified by:
recordTokenRefreshesin interfaceTelemetryRuntimeProducer
-
recordStreamingEvents
public void recordStreamingEvents(StreamingEvent streamingEvent)
- Specified by:
recordStreamingEventsin interfaceTelemetryRuntimeProducer
-
recordSessionLength
public void recordSessionLength(long sessionLength)
- Specified by:
recordSessionLengthin interfaceTelemetryRuntimeProducer
-
recordUpdatesFromSSE
public void recordUpdatesFromSSE(UpdatesFromSSEEnum updatesFromSSEEnum)
- Specified by:
recordUpdatesFromSSEin interfaceTelemetryRuntimeProducer
-
getBURTimeouts
public long getBURTimeouts()
- Specified by:
getBURTimeoutsin interfaceTelemetryConfigConsumer
-
getNonReadyUsages
public long getNonReadyUsages()
- Specified by:
getNonReadyUsagesin interfaceTelemetryConfigConsumer
-
popExceptions
public MethodExceptions popExceptions() throws Exception
- Specified by:
popExceptionsin interfaceTelemetryEvaluationConsumer- Throws:
Exception
-
popLatencies
public MethodLatencies popLatencies() throws Exception
- Specified by:
popLatenciesin interfaceTelemetryEvaluationConsumer- Throws:
Exception
-
getImpressionsStats
public long getImpressionsStats(ImpressionsDataTypeEnum data)
- Specified by:
getImpressionsStatsin interfaceTelemetryRuntimeConsumer
-
getEventStats
public long getEventStats(EventsDataRecordsEnum type)
- Specified by:
getEventStatsin interfaceTelemetryRuntimeConsumer
-
getLastSynchronization
public LastSynchronization getLastSynchronization()
- Specified by:
getLastSynchronizationin interfaceTelemetryRuntimeConsumer
-
popHTTPErrors
public HTTPErrors popHTTPErrors()
- Specified by:
popHTTPErrorsin interfaceTelemetryRuntimeConsumer
-
popHTTPLatencies
public HTTPLatencies popHTTPLatencies()
- Specified by:
popHTTPLatenciesin interfaceTelemetryRuntimeConsumer
-
popAuthRejections
public long popAuthRejections()
- Specified by:
popAuthRejectionsin interfaceTelemetryRuntimeConsumer
-
popTokenRefreshes
public long popTokenRefreshes()
- Specified by:
popTokenRefreshesin interfaceTelemetryRuntimeConsumer
-
popStreamingEvents
public List<StreamingEvent> popStreamingEvents()
- Specified by:
popStreamingEventsin interfaceTelemetryRuntimeConsumer
-
popTags
public List<String> popTags()
- Specified by:
popTagsin interfaceTelemetryRuntimeConsumer
-
getSessionLength
public long getSessionLength()
- Specified by:
getSessionLengthin interfaceTelemetryRuntimeConsumer
-
popUpdatesFromSSE
public UpdatesFromSSE popUpdatesFromSSE()
- Specified by:
popUpdatesFromSSEin interfaceTelemetryRuntimeConsumer
-
-