@ApiStatus.Internal public final class AsyncConnection extends java.lang.Object implements java.io.Closeable, Connection
| Constructor and Description |
|---|
AsyncConnection(ITransport transport,
ITransportGate transportGate,
IEnvelopeCache envelopeCache,
int maxQueueSize,
SentryOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
send(@NotNull SentryEnvelope envelope,
@Nullable java.lang.Object hint) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsendpublic AsyncConnection(ITransport transport, ITransportGate transportGate, IEnvelopeCache envelopeCache, int maxQueueSize, SentryOptions options)
public void send(@NotNull
@NotNull SentryEnvelope envelope,
@Nullable
@Nullable java.lang.Object hint)
throws java.io.IOException
send in interface Connectionjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface Connectionclose in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException