Java Code Examples for com.alibaba.dubbo.common.Constants#DISPATCHER_KEY
The following examples show how to use
com.alibaba.dubbo.common.Constants#DISPATCHER_KEY .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Dispatcher.java From dubbo-2.6.5 with Apache License 2.0 | 2 votes |
/** * dispatch the message to threadpool. * * @param handler * @param url * @return channel handler */ @Adaptive({Constants.DISPATCHER_KEY, "dispather", "channel.handler"}) // The last two parameters are reserved for compatibility with the old configuration 最后两个参数是为了与旧配置兼容而保留的 ChannelHandler dispatch(ChannelHandler handler, URL url);
Example 2
Source File: Dispatcher.java From dubbox with Apache License 2.0 | 2 votes |
/** * dispatch the message to threadpool. * * @param handler * @param url * @return channel handler */ @Adaptive({Constants.DISPATCHER_KEY, "dispather", "channel.handler"}) // 后两个参数为兼容旧配置 ChannelHandler dispatch(ChannelHandler handler, URL url);
Example 3
Source File: Dispatcher.java From dubbox-hystrix with Apache License 2.0 | 2 votes |
/** * dispatch the message to threadpool. * * @param handler * @param url * @return channel handler */ @Adaptive({Constants.DISPATCHER_KEY, "dispather", "channel.handler"}) // 后两个参数为兼容旧配置 ChannelHandler dispatch(ChannelHandler handler, URL url);
Example 4
Source File: Dispatcher.java From dubbo3 with Apache License 2.0 | 2 votes |
/** * dispatch the message to threadpool. * * @param handler handle * @param url url * @return channel handler */ @Adaptive({Constants.DISPATCHER_KEY, "dispather", "channel.handler"}) // 后两个参数为兼容旧配置 ChannelHandler dispatch(ChannelHandler handler, URL url);
Example 5
Source File: Dispatcher.java From dubbox with Apache License 2.0 | 2 votes |
/** * dispatch the message to threadpool. * * @param handler * @param url * @return channel handler */ @Adaptive({Constants.DISPATCHER_KEY, "dispather", "channel.handler"}) // 后两个参数为兼容旧配置 ChannelHandler dispatch(ChannelHandler handler, URL url);
Example 6
Source File: Dispatcher.java From dubbox with Apache License 2.0 | 2 votes |
/** * dispatch the message to threadpool. * * @param handler * @param url * @return channel handler */ @Adaptive({Constants.DISPATCHER_KEY, "dispather", "channel.handler"}) // 后两个参数为兼容旧配置 ChannelHandler dispatch(ChannelHandler handler, URL url);