| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public < the attribute type A> T | Returns: a newTransport referencethe key, A AttributeKey keythe value)AttributeKey valueUpdate the given attribute key or remove it if the value is null. |
| public T | Returns: a newTransportA supplier of the address to bind to. bindAddressSupplier)Set a new local address to which this transport should bind on subscribe. |
| public T | Returns: a newTransport referenceProvide a |
| public abstract C | |
| public T | Returns: a newTransport referenceconfigure the channel pipeline while initializing the channel doOnChannelInit)Configure the channel pipeline while initializing the channel. |
| protected abstract T | |
| protected T | Returns: a newTransport referencetrue enables metrics collection; false disables it enable)Whether to enable metrics to be collected and registered in Micrometer's
|
| public T | Returns: a newTransport referenceif true enables the metrics on the enable, Supplier<? extends ChannelMetricsRecorder> Transport.a supplier for the recorder)ChannelMetricsRecorderSpecifies whether the metrics are enabled on the |
| public T | Returns: a newTransport referencethe observer)ConnectionObserver to be set or addSet or add the given |
| public < the option type O> T | Returns: a newTransport referencethe key, O ChannelOption keythe value)ChannelOption value or nullUpdate the given option key or remove it if the value is null. |
| public T | Returns: a newTransport referencean eventLoopGroup to share eventLoopGroup)Run IO loops on the given |
| public T | Returns: a newTransport referencea channelResources)LoopResources accepting native runtime expectation and
returning an eventLoopGroupRun IO loops on a supplied |
| public T | Returns: a newTransport referencea new loop resources loopResources, boolean should prefer running on epoll, kqueue or similar instead of java NIO preferNative)Run IO loops on a supplied |
| public final T | Returns: a newTransport referencea new loop resources loopResources, boolean should prefer running on epoll, kqueue or similar instead of java NIO preferNative, ProtocolFamily a specific family)ProtocolFamily to run withRun IO loops on a supplied |
| public T | Returns: a newTransport referencespecifies whether the wire logger configuration will be added to the pipeline enable)Apply or remove a wire logger configuration using |
| public T | Returns: a newTransport referencethe logger category category)Apply a wire logger configuration using the specified category (logger),
|
| public T | Returns: a newTransport referencethe logger category category, LogLevel the logger level level)Apply a wire logger configuration using the specified category (logger),
logger level and |
| public final T | |
| public final T |
| log | back to summary |
|---|---|
| pack-priv static final Logger log | |
| Transport | back to summary |
|---|---|
| public Transport() | |
| attr | back to summary |
|---|---|
| public <A> T attr(AttributeKey<A> key, A value) Update the given attribute key or remove it if the value is null.
| |
| bindAddress | back to summary |
|---|---|
| public T bindAddress(Supplier<? extends SocketAddress> bindAddressSupplier) Set a new local address to which this transport should bind on subscribe.
| |
| channelGroup | back to summary |
|---|---|
| public T channelGroup(ChannelGroup channelGroup) Provide a Graceful Shutdown: When a
| |
| configuration | back to summary |
|---|---|
| public abstract C configuration() Return a
| |
| doOnChannelInit | back to summary |
|---|---|
| public T doOnChannelInit(ChannelPipelineConfigurer doOnChannelInit) Configure the channel pipeline while initializing the channel.
| |
| duplicate | back to summary |
|---|---|
| protected abstract T duplicate() Return a new
| |
| metrics | back to summary |
|---|---|
| protected T metrics(boolean enable) Whether to enable metrics to be collected and registered in Micrometer's
MeterFilter filter = ... ; Metrics.globalRegistry.config().meterFilter(MeterFilter.maximumAllowableTags(prefix, 100, filter)); By default this is not enabled.
| |
| metrics | back to summary |
|---|---|
| public T metrics(boolean enable, Supplier<? extends ChannelMetricsRecorder> recorder) Specifies whether the metrics are enabled on the
| |
| observe | back to summary |
|---|---|
| public T observe(ConnectionObserver observer) Set or add the given
| |
| option | back to summary |
|---|---|
| public <O> T option(ChannelOption<O> key, O value) Update the given option key or remove it if the value is null. Note Setting
| |
| runOn | back to summary |
|---|---|
| public T runOn(EventLoopGroup eventLoopGroup) Run IO loops on the given
| |
| runOn | back to summary |
|---|---|
| public T runOn(LoopResources channelResources) Run IO loops on a supplied
| |
| runOn | back to summary |
|---|---|
| public T runOn(LoopResources loopResources, boolean preferNative) Run IO loops on a supplied
| |
| runOn | back to summary |
|---|---|
| public final T runOn(LoopResources loopResources, boolean preferNative, ProtocolFamily family) Run IO loops on a supplied
| |
| wiretap | back to summary |
|---|---|
| public T wiretap(boolean enable) Apply or remove a wire logger configuration using
| |
| wiretap | back to summary |
|---|---|
| public T wiretap(String category) Apply a wire logger configuration using the specified category (logger),
| |
| wiretap | back to summary |
|---|---|
| public T wiretap(String category, LogLevel level) Apply a wire logger configuration using the specified category (logger),
logger level and | |
| wiretap | back to summary |
|---|---|
| public final T wiretap(String category, LogLevel level, AdvancedBufferFormat format) Apply a wire logger configuration using the specified category (logger),
logger level and
AdvancedBufferFormat#TEXTUAL is specified, Charset#defaultCharset() will be used.
| |
| wiretap | back to summary |
|---|---|
| public final T wiretap(String category, LogLevel level, AdvancedBufferFormat format, Charset charset) Apply a wire logger configuration using the specific category (logger),
logger level,
| |