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

io.sentry.core.ISentryExecutorService Maven / Gradle / Ivy

There is a newer version: 3.0.0-alpha.1
Show newest version
package io.sentry.core;

import java.util.concurrent.Future;

/** Sentry Executor Service that sends cached events and envelopes on App. start. */
interface ISentryExecutorService {

  /**
   * Submits a Runnable to the ThreadExecutor
   *
   * @param runnable the Runnable
   * @return a Future of the Runnable
   */
  Future submit(Runnable runnable);

  /**
   * Closes the ThreadExecutor and awaits for the timeout
   *
   * @param timeoutMillis the timeout in millis
   */
  void close(long timeoutMillis);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy