@Experimental
public interface OutboundChannelHandlerFactory
| Modifier and Type | Method and Description |
|---|---|
Optional<org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandler> |
createHandler(org.apache.flink.configuration.Configuration configuration)
Creates new instance of
ChannelHandler |
int |
priority()
Gives back priority of the
ChannelHandler. |
int priority()
ChannelHandler. The bigger the value is, the earlier it is
executed. If multiple handlers have the same priority then the order is not defined.ChannelHandler.Optional<org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandler> createHandler(org.apache.flink.configuration.Configuration configuration) throws org.apache.flink.util.ConfigurationException
ChannelHandlerconfiguration - The Flink Configuration.ChannelHandler or null if no custom handler needs to be created.org.apache.flink.util.ConfigurationException - Thrown, if the handler configuration is incorrect.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.