类 ProxyExtensions
java.lang.Object
org.apache.pulsar.proxy.extensions.ProxyExtensions
- 所有已实现的接口:
AutoCloseable
A collection of loaded extensions.
-
方法概要
修饰符和类型方法说明voidclose()Return the handler for the provided extension.voidinitialize(ProxyConfiguration conf) static ProxyExtensionsload(ProxyConfiguration conf) Load the extensions for the given extensions list.Map<String,Map<InetSocketAddress, io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>>> voidstart(ProxyService service)
-
方法详细资料
-
load
Load the extensions for the given extensions list.- 参数:
conf- the pulsar broker service configuration- 返回:
- the collection of extensions
- 抛出:
IOException
-
extension
Return the handler for the provided extension.- 参数:
extension- the extension to use- 返回:
- the extension to handle the provided extension
-
initialize
- 抛出:
Exception
-
newChannelInitializers
public Map<String,Map<InetSocketAddress, newChannelInitializers()io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>>> -
start
-
close
public void close()- 指定者:
close在接口中AutoCloseable
-