Package io.sentry
Interface ISentryExecutorService
-
@Internal public interface ISentryExecutorServiceSentry Executor Service that sends cached events and envelopes on App. start.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose(long timeoutMillis)Closes the ThreadExecutor and awaits for the timeout@NotNull java.util.concurrent.Future<?>schedule(@NotNull java.lang.Runnable runnable, long delayMillis)@NotNull java.util.concurrent.Future<?>submit(@NotNull java.lang.Runnable runnable)Submits a Runnable to the ThreadExecutor
-
-
-
Method Detail
-
submit
@NotNull @NotNull java.util.concurrent.Future<?> submit(@NotNull @NotNull java.lang.Runnable runnable)Submits a Runnable to the ThreadExecutor- Parameters:
runnable- the Runnable- Returns:
- a Future of the Runnable
-
schedule
@NotNull @NotNull java.util.concurrent.Future<?> schedule(@NotNull @NotNull java.lang.Runnable runnable, long delayMillis)
-
close
void close(long timeoutMillis)
Closes the ThreadExecutor and awaits for the timeout- Parameters:
timeoutMillis- the timeout in millis
-
-