Package io.sentry.transport
Class NoOpTransport
java.lang.Object
io.sentry.transport.NoOpTransport
- All Implemented Interfaces:
ITransport,Closeable,AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush(long timeoutMillis) Flushes events queued up, but keeps the client enabled.static @NotNull NoOpTransport@Nullable RateLimitervoidsend(@NotNull SentryEnvelope envelope, @NotNull Hint hint) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.sentry.transport.ITransport
isHealthy, send
-
Method Details
-
getInstance
-
send
public void send(@NotNull @NotNull SentryEnvelope envelope, @NotNull @NotNull Hint hint) throws IOException - Specified by:
sendin interfaceITransport- Throws:
IOException
-
flush
public void flush(long timeoutMillis) Description copied from interface:ITransportFlushes events queued up, but keeps the client enabled. Not implemented yet.- Specified by:
flushin interfaceITransport- Parameters:
timeoutMillis- time in milliseconds
-
getRateLimiter
- Specified by:
getRateLimiterin interfaceITransport
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-