| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final NewConnectionProvider | |
| pack-priv static final Logger |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Mono | acquire(TransportConfig
the transport configuration config, ConnectionObserver observer, Supplier<? extends SocketAddress> the remoteAddress, AddressResolverGroup<?> SocketAddress to connect tothe resolver which will resolve the address of the unresolved named address resolverGroup)Implements reactor. Connection on subscribe.
|
| public boolean | isDisposed()
Overrides default reactor. |
| public int | maxConnections()
Overrides default reactor. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final NewConnectionProvider INSTANCE | |
| log | back to summary |
|---|---|
| pack-priv static final Logger log | |
| NewConnectionProvider | back to summary |
|---|---|
| pack-priv NewConnectionProvider() | |
| acquire | back to summary |
|---|---|
| public Mono Implements reactor. Doc from reactor. Return an existing or new
| |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Overrides default reactor. Doc from reactor. Optionally return true when the resource or task is disposed. Implementations are not required to track disposition and as such may never return true even when disposed. However, they MUST only return true when there's a guarantee the resource or task is disposed.
| |
| maxConnections | back to summary |
|---|---|
| public int maxConnections() Overrides default reactor. Doc from reactor. Returns the maximum number of connections before starting pending
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Supplier | |
| pack-priv final Context | |
| pack-priv final MonoSink | |
| pack-priv Subscription |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Context | currentContext()
Overrides default reactor. Context from dependent components which can include downstream
operators during subscribing or a terminal org..
|
| public void | dispose()
Implements reactor. |
| public void | |
| public void | onError(Throwable
the throwable signaled t)Implements org. |
| public void | onNext(Channel
the element signaled channel)Implements org. Publisher in response to requests to Subscription#request(long).
|
| public void | onSubscribe(Subscription
the s)Subscription that allows requesting data via Subscription#request(long)Implements reactor. onNext(Object) before
calling Subscription#request(long).
|
| bindAddress | back to summary |
|---|---|
| pack-priv final Supplier<? extends SocketAddress> bindAddress | |
| currentContext | back to summary |
|---|---|
| pack-priv final Context currentContext | |
| sink | back to summary |
|---|---|
| pack-priv final MonoSink<Connection> sink | |
| subscription | back to summary |
|---|---|
| pack-priv Subscription subscription | |
| DisposableConnect | back to summary |
|---|---|
| pack-priv DisposableConnect(MonoSink<Connection> sink, Supplier<? extends SocketAddress> bindAddress) | |
| currentContext | back to summary |
|---|---|
| public Context currentContext() Overrides default reactor. Doc from reactor. Request a
| |
| dispose | back to summary |
|---|---|
| public void dispose() Implements reactor. Doc from reactor. Cancel or dispose the underlying task or resource. Implementations are required to make this method idempotent.
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements org. Doc from org. Successful terminal state.
No further events will be sent even if
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable t) Implements org. Doc from org. Failed terminal state.
No further events will be sent even if | |
| onNext | back to summary |
|---|---|
| public void onNext(Channel channel) Implements org. Doc from org. Data notification sent by the | |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Subscription s) Implements reactor. Doc from reactor. Implementors should initialize any state used by
Note that an invalid request
No data will start flowing until
It is the responsibility of this
The
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Context | |
| pack-priv final ConnectionObserver | |
| pack-priv final MonoSink |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Context | currentContext()
Overrides default reactor. Context
|
| public void | onStateChange(Connection
the connection reference connection, ConnectionObserver.the new State newStateImplements reactor. |
| public void | onUncaughtException(Connection
the remote connection c, Throwable the failing cause error)Overrides default reactor. |
| currentContext | back to summary |
|---|---|
| pack-priv final Context currentContext | |
| obs | back to summary |
|---|---|
| pack-priv final ConnectionObserver obs | |
| sink | back to summary |
|---|---|
| pack-priv final MonoSink<Connection> sink | |
| NewConnectionObserver | back to summary |
|---|---|
| pack-priv NewConnectionObserver(MonoSink<Connection> sink, ConnectionObserver obs) | |
| currentContext | back to summary |
|---|---|
| public Context currentContext() Overrides default reactor. Doc from reactor. Connection listener
| |
| onStateChange | back to summary |
|---|---|
| public void onStateChange(Connection connection, ConnectionObserver. Implements reactor. Doc from reactor. React on connection state change (e.g. http request or response)
| |
| onUncaughtException | back to summary |
|---|---|
| public void onUncaughtException(Connection c, Throwable error) Overrides default reactor. Doc from reactor. React on connection fatal error, will request a disconnecting state
change by default. It should only catch exceptions that can't be consumed by a
| |