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

io.sentry.backpressure.NoOpBackpressureMonitor Maven / Gradle / Ivy

package io.sentry.backpressure;

public final class NoOpBackpressureMonitor implements IBackpressureMonitor {

  private static final NoOpBackpressureMonitor instance = new NoOpBackpressureMonitor();

  private NoOpBackpressureMonitor() {}

  public static NoOpBackpressureMonitor getInstance() {
    return instance;
  }

  @Override
  public void start() {
    // do nothing
  }

  @Override
  public int getDownsampleFactor() {
    return 0;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy