@Experimental public interface OutboundChannelHandlerFactory
Modifier and Type | Method and Description |
---|---|
Optional<org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandler> |
createHandler(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(Configuration configuration) throws ConfigurationException
ChannelHandler
configuration
- The Flink Configuration
.ChannelHandler
or null if no custom handler needs to be created.ConfigurationException
- Thrown, if the handler configuration is incorrect.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.