All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.split.telemetry.storage.NoopTelemetryStorage Maven / Gradle / Ivy

package io.split.telemetry.storage;

import io.split.telemetry.domain.*;
import io.split.telemetry.domain.enums.*;

import java.util.List;

public class NoopTelemetryStorage implements TelemetryStorage{

    @Override
    public void recordNonReadyUsage() {

    }

    @Override
    public void recordBURTimeout() {

    }

    @Override
    public void recordLatency(MethodEnum method, long latency) {

    }

    @Override
    public void recordException(MethodEnum method) {

    }

    @Override
    public void addTag(String tag) {

    }

    @Override
    public void recordImpressionStats(ImpressionsDataTypeEnum dataType, long count) {

    }

    @Override
    public void recordEventStats(EventsDataRecordsEnum dataType, long count) {

    }

    @Override
    public void recordSuccessfulSync(LastSynchronizationRecordsEnum resource, long time) {

    }

    @Override
    public void recordSyncError(ResourceEnum resource, int status) {

    }

    @Override
    public void recordSyncLatency(HTTPLatenciesEnum resource, long latency) {

    }

    @Override
    public void recordAuthRejections() {

    }

    @Override
    public void recordTokenRefreshes() {

    }

    @Override
    public void recordStreamingEvents(StreamingEvent streamingEvent) {

    }

    @Override
    public void recordSessionLength(long sessionLength) {

    }

    @Override
    public long getBURTimeouts() {
        return 0;
    }

    @Override
    public long getNonReadyUsages() {
        return 0;
    }

    @Override
    public MethodExceptions popExceptions() throws Exception {
        return null;
    }

    @Override
    public MethodLatencies popLatencies() throws Exception {
        return null;
    }

    @Override
    public long getImpressionsStats(ImpressionsDataTypeEnum data) {
        return 0;
    }

    @Override
    public long getEventStats(EventsDataRecordsEnum type) {
        return 0;
    }

    @Override
    public LastSynchronization getLastSynchronization() {
        return null;
    }

    @Override
    public HTTPErrors popHTTPErrors() {
        return null;
    }

    @Override
    public HTTPLatencies popHTTPLatencies(){
        return null;
    }

    @Override
    public long popAuthRejections() {
        return 0;
    }

    @Override
    public long popTokenRefreshes() {
        return 0;
    }

    @Override
    public List popStreamingEvents() {
        return null;
    }

    @Override
    public List popTags() {
        return null;
    }

    @Override
    public long getSessionLength() {
        return 0;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy