跳过导航链接
A C D E G H I M N O P R S T V 

A

activateObject(Object) - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannelFactory
 
afterExecute(Runnable, Throwable) - 类 中的方法com.weibo.api.motan.transport.netty.StandardThreadExecutor
 

C

callbackMap - 类 中的变量com.weibo.api.motan.transport.netty.NettyClient
 
channelConnected(ChannelHandlerContext, ChannelStateEvent) - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannelHandler
 
channelConnected(ChannelHandlerContext, ChannelStateEvent) - 类 中的方法com.weibo.api.motan.transport.netty.NettyServerChannelManage
 
channelDisconnected(ChannelHandlerContext, ChannelStateEvent) - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannelHandler
 
channelDisconnected(ChannelHandlerContext, ChannelStateEvent) - 类 中的方法com.weibo.api.motan.transport.netty.NettyServerChannelManage
 
channelManage - 类 中的变量com.weibo.api.motan.transport.netty.NettyServer
 
cleanup() - 类 中的方法com.weibo.api.motan.transport.netty.NettyClient
 
cleanup() - 类 中的方法com.weibo.api.motan.transport.netty.NettyServer
 
close() - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannel
 
close(int) - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannel
 
close() - 类 中的方法com.weibo.api.motan.transport.netty.NettyClient
 
close(int) - 类 中的方法com.weibo.api.motan.transport.netty.NettyClient
目前close不支持timeout的概念
close() - 类 中的方法com.weibo.api.motan.transport.netty.NettyServer
 
close(int) - 类 中的方法com.weibo.api.motan.transport.netty.NettyServer
 
close() - 类 中的方法com.weibo.api.motan.transport.netty.NettyServerChannelManage
close所有的连接
com.weibo.api.motan.transport.netty - 程序包 com.weibo.api.motan.transport.netty
 
createChannelFactory() - 类 中的方法com.weibo.api.motan.transport.netty.NettyClient
connection factory

D

decode(ChannelHandlerContext, Channel, ChannelBuffer) - 类 中的方法com.weibo.api.motan.transport.netty.NettyDecoder
 
DEFAULT_MAX_IDLE_TIME - 类 中的静态变量com.weibo.api.motan.transport.netty.StandardThreadExecutor
 
DEFAULT_MAX_THREADS - 类 中的静态变量com.weibo.api.motan.transport.netty.StandardThreadExecutor
 
DEFAULT_MIN_THREADS - 类 中的静态变量com.weibo.api.motan.transport.netty.StandardThreadExecutor
 
destroyObject(Object) - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannelFactory
 

E

encode(ChannelHandlerContext, Channel, Object) - 类 中的方法com.weibo.api.motan.transport.netty.NettyEncoder
 
exceptionCaught(ChannelHandlerContext, ExceptionEvent) - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannelHandler
 
execute(Runnable) - 类 中的方法com.weibo.api.motan.transport.netty.StandardThreadExecutor
 

G

getBootstrap() - 类 中的方法com.weibo.api.motan.transport.netty.NettyClient
 
getChannels() - 类 中的方法com.weibo.api.motan.transport.netty.NettyServerChannelManage
 
getFactoryName() - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannelFactory
 
getLocalAddress() - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannel
 
getMaxSubmittedTaskCount() - 类 中的方法com.weibo.api.motan.transport.netty.StandardThreadExecutor
 
getMessageHandler() - 类 中的方法com.weibo.api.motan.transport.netty.NettyServer
 
getRemoteAddress() - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannel
 
getSubmittedTasksCount() - 类 中的方法com.weibo.api.motan.transport.netty.StandardThreadExecutor
 
getUrl() - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannel
 
getUrl() - 类 中的方法com.weibo.api.motan.transport.netty.NettyClient
 
getUrl() - 类 中的方法com.weibo.api.motan.transport.netty.NettyServer
 

H

handleUpstream(ChannelHandlerContext, ChannelEvent) - 类 中的方法com.weibo.api.motan.transport.netty.ProtectedExecutionHandler
if RejectedExecutionException happen, send 503 exception to client
heartbeat(Request) - 类 中的方法com.weibo.api.motan.transport.netty.NettyClient
 

I

innerCreateClient(URL) - 类 中的方法com.weibo.api.motan.transport.netty.NettyEndpointFactory
 
innerCreateServer(URL, MessageHandler) - 类 中的方法com.weibo.api.motan.transport.netty.NettyEndpointFactory
 
isAvailable() - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannel
 
isAvailable() - 类 中的方法com.weibo.api.motan.transport.netty.NettyClient
 
isAvailable() - 类 中的方法com.weibo.api.motan.transport.netty.NettyServer
 
isBound() - 类 中的方法com.weibo.api.motan.transport.netty.NettyServer
是否已经绑定端口
isClosed() - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannel
 
isClosed() - 类 中的方法com.weibo.api.motan.transport.netty.NettyClient
 
isClosed() - 类 中的方法com.weibo.api.motan.transport.netty.NettyServer
 

M

makeObject() - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannelFactory
 
messageReceived(ChannelHandlerContext, MessageEvent) - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannelHandler
 

N

NettyChannel - com.weibo.api.motan.transport.netty中的类
 
NettyChannel(NettyClient) - 类 的构造器com.weibo.api.motan.transport.netty.NettyChannel
 
NettyChannelFactory - com.weibo.api.motan.transport.netty中的类
 
NettyChannelFactory(NettyClient) - 类 的构造器com.weibo.api.motan.transport.netty.NettyChannelFactory
 
NettyChannelHandler - com.weibo.api.motan.transport.netty中的类
 
NettyChannelHandler(Channel) - 类 的构造器com.weibo.api.motan.transport.netty.NettyChannelHandler
 
NettyChannelHandler(Channel, MessageHandler) - 类 的构造器com.weibo.api.motan.transport.netty.NettyChannelHandler
 
NettyChannelHandler(Channel, MessageHandler, ThreadPoolExecutor) - 类 的构造器com.weibo.api.motan.transport.netty.NettyChannelHandler
 
NettyClient - com.weibo.api.motan.transport.netty中的类
netty client 相关 1) timeout 设置 (connecttimeout,sotimeout, application timeout) 2) 线程池设置 3) 最大连接池设置 4) 最大消息队列设置 (netty channel内部: writeQueue) 5) 最大返回数据包设置 6) RPC 的测试的时候,需要非常关注 OOM的问题
NettyClient(URL) - 类 的构造器com.weibo.api.motan.transport.netty.NettyClient
 
NettyDecoder - com.weibo.api.motan.transport.netty中的类
netty client decode
NettyDecoder(Codec, Channel, int) - 类 的构造器com.weibo.api.motan.transport.netty.NettyDecoder
 
NettyEncoder - com.weibo.api.motan.transport.netty中的类
 
NettyEncoder(Codec, Channel) - 类 的构造器com.weibo.api.motan.transport.netty.NettyEncoder
 
NettyEndpointFactory - com.weibo.api.motan.transport.netty中的类
 
NettyEndpointFactory() - 类 的构造器com.weibo.api.motan.transport.netty.NettyEndpointFactory
 
NettyServer - com.weibo.api.motan.transport.netty中的类
netty server 的相关优化 1) server 的 executor handler 相关防护 2) server 的 隔离保护,不同方法。
NettyServer(URL, MessageHandler) - 类 的构造器com.weibo.api.motan.transport.netty.NettyServer
 
NettyServerChannelManage - com.weibo.api.motan.transport.netty中的类
 
NettyServerChannelManage(int) - 类 的构造器com.weibo.api.motan.transport.netty.NettyServerChannelManage
 

O

open() - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannel
 
open() - 类 中的方法com.weibo.api.motan.transport.netty.NettyClient
 
open() - 类 中的方法com.weibo.api.motan.transport.netty.NettyServer
 

P

passivateObject(Object) - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannelFactory
 
ProtectedExecutionHandler - com.weibo.api.motan.transport.netty中的类
 

R

registerCallback(long, ResponseFuture) - 类 中的方法com.weibo.api.motan.transport.netty.NettyClient
注册回调的resposne 进行最大的请求并发数的控制,如果超过NETTY_CLIENT_MAX_REQUEST的话,那么throw reject exception
removeCallback(long) - 类 中的方法com.weibo.api.motan.transport.netty.NettyClient
移除回调的response
request(Request) - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannel
 
request(Request) - 类 中的方法com.weibo.api.motan.transport.netty.NettyClient
 
request(Request) - 类 中的方法com.weibo.api.motan.transport.netty.NettyServer
 

S

setMessageHandler(MessageHandler) - 类 中的方法com.weibo.api.motan.transport.netty.NettyServer
 
StandardThreadExecutor - com.weibo.api.motan.transport.netty中的类
代码和思路主要来自于: tomcat : org.apache.catalina.core.StandardThreadExecutor java.util.concurrent threadPoolExecutor execute执行策略: 优先offer到queue,queue满后再扩充线程到maxThread,如果已经到了maxThread就reject 比较适合于CPU密集型应用(比如runnable内部执行的操作都在JVM内部,memory copy, or compute等等) StandardThreadExecutor execute执行策略: 优先扩充线程到maxThread,再offer到queue,如果满了就reject 比较适合于业务处理需要远程资源的场景
StandardThreadExecutor() - 类 的构造器com.weibo.api.motan.transport.netty.StandardThreadExecutor
 
StandardThreadExecutor(int, int) - 类 的构造器com.weibo.api.motan.transport.netty.StandardThreadExecutor
 
StandardThreadExecutor(int, int, long, TimeUnit) - 类 的构造器com.weibo.api.motan.transport.netty.StandardThreadExecutor
 
StandardThreadExecutor(int, int, int) - 类 的构造器com.weibo.api.motan.transport.netty.StandardThreadExecutor
 
StandardThreadExecutor(int, int, int, ThreadFactory) - 类 的构造器com.weibo.api.motan.transport.netty.StandardThreadExecutor
 
StandardThreadExecutor(int, int, long, TimeUnit, int) - 类 的构造器com.weibo.api.motan.transport.netty.StandardThreadExecutor
 
StandardThreadExecutor(int, int, long, TimeUnit, int, ThreadFactory) - 类 的构造器com.weibo.api.motan.transport.netty.StandardThreadExecutor
 
StandardThreadExecutor(int, int, long, TimeUnit, int, ThreadFactory, RejectedExecutionHandler) - 类 的构造器com.weibo.api.motan.transport.netty.StandardThreadExecutor
 
statisticCallback() - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannelHandler
 
statisticCallback() - 类 中的方法com.weibo.api.motan.transport.netty.NettyClient
统计回调接口
statisticCallback() - 类 中的方法com.weibo.api.motan.transport.netty.NettyServer
统计回调接口
submittedTasksCount - 类 中的变量com.weibo.api.motan.transport.netty.StandardThreadExecutor
 

T

toString() - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannelFactory
 

V

validateObject(Object) - 类 中的方法com.weibo.api.motan.transport.netty.NettyChannelFactory
 
A C D E G H I M N O P R S T V 
跳过导航链接

Copyright © 2021. All rights reserved.