Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W Z 

A

AbstractClient - Class in com.weibo.api.motan.transport
 
AbstractClient(URL) - Constructor for class com.weibo.api.motan.transport.AbstractClient
 
AbstractCodec - Class in com.weibo.api.motan.codec
 
AbstractCodec() - Constructor for class com.weibo.api.motan.codec.AbstractCodec
 
AbstractConfig - Class in com.weibo.api.motan.config
abstract config
AbstractConfig() - Constructor for class com.weibo.api.motan.config.AbstractConfig
 
AbstractEndpointFactory - Class in com.weibo.api.motan.transport.support
abstract endpoint factory
AbstractEndpointFactory() - Constructor for class com.weibo.api.motan.transport.support.AbstractEndpointFactory
 
AbstractExporter<T> - Class in com.weibo.api.motan.rpc
abstract exporter
AbstractExporter(Provider<T>, URL) - Constructor for class com.weibo.api.motan.rpc.AbstractExporter
 
AbstractHaStrategy<T> - Class in com.weibo.api.motan.cluster.ha
Abstract ha strategy.
AbstractHaStrategy() - Constructor for class com.weibo.api.motan.cluster.ha.AbstractHaStrategy
 
AbstractInterfaceConfig - Class in com.weibo.api.motan.config
Interface config, 配置约定 1 service 和 referer 端相同的参数的含义一定相同; 2 service端参数的覆盖策略:protocol--basicConfig--service,前面的配置会被后面的config参数覆盖; 3 registry 参数不进入service、referer端的参数列表; 4 referer端从注册中心拿到参数后,先用referer端的参数覆盖,然后再使用该service
AbstractInterfaceConfig() - Constructor for class com.weibo.api.motan.config.AbstractInterfaceConfig
 
AbstractLoadBalance<T> - Class in com.weibo.api.motan.cluster.loadbalance
loadbalance
AbstractLoadBalance() - Constructor for class com.weibo.api.motan.cluster.loadbalance.AbstractLoadBalance
 
AbstractMockRpcProtocol - Class in com.weibo.api.motan.protocol.mock
 
AbstractMockRpcProtocol() - Constructor for class com.weibo.api.motan.protocol.mock.AbstractMockRpcProtocol
 
AbstractNode - Class in com.weibo.api.motan.rpc
 
AbstractNode(URL) - Constructor for class com.weibo.api.motan.rpc.AbstractNode
 
AbstractPoolClient - Class in com.weibo.api.motan.transport
 
AbstractPoolClient(URL) - Constructor for class com.weibo.api.motan.transport.AbstractPoolClient
 
AbstractProtocol - Class in com.weibo.api.motan.protocol
abstract protocol
AbstractProtocol() - Constructor for class com.weibo.api.motan.protocol.AbstractProtocol
 
AbstractProvider<T> - Class in com.weibo.api.motan.rpc
 
AbstractProvider(URL, Class<T>) - Constructor for class com.weibo.api.motan.rpc.AbstractProvider
 
AbstractReferer<T> - Class in com.weibo.api.motan.rpc
abstract referer
AbstractReferer(Class<T>, URL) - Constructor for class com.weibo.api.motan.rpc.AbstractReferer
 
AbstractReferer(Class<T>, URL, URL) - Constructor for class com.weibo.api.motan.rpc.AbstractReferer
 
AbstractRefererConfig - Class in com.weibo.api.motan.config
Abstract referer config.
AbstractRefererConfig() - Constructor for class com.weibo.api.motan.config.AbstractRefererConfig
 
AbstractRefererHandler<T> - Class in com.weibo.api.motan.proxy
 
AbstractRefererHandler() - Constructor for class com.weibo.api.motan.proxy.AbstractRefererHandler
 
AbstractRegistry - Class in com.weibo.api.motan.registry.support
Abstract registry。 对进出的url都进行createCopy保护,避免registry中的对象被修改,避免潜在的并发问题。
AbstractRegistry(URL) - Constructor for class com.weibo.api.motan.registry.support.AbstractRegistry
 
AbstractRegistryFactory - Class in com.weibo.api.motan.registry.support
Create and cache registry.
AbstractRegistryFactory() - Constructor for class com.weibo.api.motan.registry.support.AbstractRegistryFactory
 
AbstractServer - Class in com.weibo.api.motan.transport
 
AbstractServer() - Constructor for class com.weibo.api.motan.transport.AbstractServer
 
AbstractServer(URL) - Constructor for class com.weibo.api.motan.transport.AbstractServer
 
AbstractServiceConfig - Class in com.weibo.api.motan.config
Abstract service config.
AbstractServiceConfig() - Constructor for class com.weibo.api.motan.config.AbstractServiceConfig
 
AbstractSharedPoolClient - Class in com.weibo.api.motan.transport
 
AbstractSharedPoolClient(URL) - Constructor for class com.weibo.api.motan.transport.AbstractSharedPoolClient
 
acceptConnections - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
accessLog - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
accessLog(String) - Method in class com.weibo.api.motan.log.DefaultLogService
 
accessLog(String) - Method in interface com.weibo.api.motan.log.LogService
 
accessLog(String) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
AccessLogFilter - Class in com.weibo.api.motan.filter
Access log filter 统计整个call的执行状况,尽量到最上层,最后执行.
AccessLogFilter() - Constructor for class com.weibo.api.motan.filter.AccessLogFilter
 
accessProfileLog(String, Object...) - Method in class com.weibo.api.motan.log.DefaultLogService
 
accessProfileLog(String, Object...) - Method in interface com.weibo.api.motan.log.LogService
 
accessProfileLog(String, Object...) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
accessStatistic(String, long, long, long, StatsUtil.AccessStatus) - Static method in class com.weibo.api.motan.util.StatsUtil
Deprecated.
accessStatistic(String, String, String, long, long, long, StatsUtil.AccessStatus) - Static method in class com.weibo.api.motan.util.StatsUtil
 
accessStatistic(String, String, String, long, long, long, int, StatsUtil.AccessStatus) - Static method in class com.weibo.api.motan.util.StatsUtil
 
AccessStatisticFilter - Class in com.weibo.api.motan.filter
 
AccessStatisticFilter() - Constructor for class com.weibo.api.motan.filter.AccessStatisticFilter
 
AccessStatisticResult - Class in com.weibo.api.motan.util
 
AccessStatisticResult() - Constructor for class com.weibo.api.motan.util.AccessStatisticResult
 
accessStatistics - Static variable in class com.weibo.api.motan.util.StatsUtil
 
accessStatsLog(String) - Method in class com.weibo.api.motan.log.DefaultLogService
 
accessStatsLog(String, Object...) - Method in class com.weibo.api.motan.log.DefaultLogService
 
accessStatsLog(String) - Method in interface com.weibo.api.motan.log.LogService
 
accessStatsLog(String, Object...) - Method in interface com.weibo.api.motan.log.LogService
 
accessStatsLog(String) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
accessStatsLog(String, Object...) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
Activation - Annotation Type in com.weibo.api.motan.core.extension
Spi有多个实现时,可以根据条件进行过滤、排序后再返回。
ActivationComparator<T> - Class in com.weibo.api.motan.core.extension
Priority comparator
ActivationComparator() - Constructor for class com.weibo.api.motan.core.extension.ActivationComparator
 
ActiveLimitFilter - Class in com.weibo.api.motan.filter
limit active count,判断某个接口并发数是否超限,如果超过限制,则上抛异常,同时做简单的统计。 此filter比较严格,尽量放到底层较早执行。
ActiveLimitFilter() - Constructor for class com.weibo.api.motan.filter.ActiveLimitFilter
 
activeRefererCount - Variable in class com.weibo.api.motan.rpc.AbstractReferer
 
activeRefererCount() - Method in class com.weibo.api.motan.rpc.AbstractReferer
 
activeRefererCount() - Method in interface com.weibo.api.motan.rpc.Referer
当前使用该referer的调用数
actives - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
ActiveWeightLoadBalance<T> - Class in com.weibo.api.motan.cluster.loadbalance
"低并发优化" 负载均衡
ActiveWeightLoadBalance() - Constructor for class com.weibo.api.motan.cluster.loadbalance.ActiveWeightLoadBalance
 
add(E) - Method in class com.weibo.api.motan.util.ConcurrentHashSet
Adds the specified element to this set if it is not already present.
addEndpoint(Endpoint) - Method in interface com.weibo.api.motan.transport.EndpointManager
 
addEndpoint(Endpoint) - Method in class com.weibo.api.motan.transport.support.HeartbeatClientEndpointManager
 
addExtensionClass(Class<T>) - Method in class com.weibo.api.motan.core.extension.ExtensionLoader
 
addFinishCallback(Runnable, Executor) - Method in interface com.weibo.api.motan.rpc.Callbackable
 
addFinishCallback(Runnable, Executor) - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
addListener(FutureListener) - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
addListener(FutureListener) - Method in interface com.weibo.api.motan.rpc.Future
add future listener , when task is success,failure, timeout, cancel, it will be called
addNotifyListener(NotifyListener) - Method in class com.weibo.api.motan.registry.support.command.CommandServiceManager
 
addParameter(String, String) - Method in class com.weibo.api.motan.rpc.URL
 
addParameterIfAbsent(String, String) - Method in class com.weibo.api.motan.rpc.URL
 
addParameters(Map<String, String>) - Method in class com.weibo.api.motan.rpc.URL
 
addProvider(Provider<?>) - Method in class com.weibo.api.motan.transport.ProviderMessageRouter
 
addService(URL) - Static method in class com.weibo.api.motan.rpc.ApplicationInfo
Deprecated.
 
addTraceInfo(String, String) - Method in class com.weibo.api.motan.rpc.TraceableContext
 
afterCall(URL, Request, boolean, long) - Static method in class com.weibo.api.motan.rpc.RpcStats
call after invoke the request
afterExecute(Runnable, Throwable) - Method in class com.weibo.api.motan.core.StandardThreadExecutor
 
alive - Variable in class com.weibo.api.motan.rpc.AbstractProvider
 
allRegistries() - Static method in class com.weibo.api.motan.util.InternalMetricsFactory
返回当前注册的全部 MetricRegistrys。
ANYHOST - Static variable in class com.weibo.api.motan.util.NetUtils
 
appendConfigParams(Map<String, String>) - Method in class com.weibo.api.motan.config.AbstractConfig
 
appendConfigParams(Map<String, String>, String) - Method in class com.weibo.api.motan.config.AbstractConfig
将config 参数录入Map中
application - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
Application - Class in com.weibo.api.motan.rpc
 
Application(String, String) - Constructor for class com.weibo.api.motan.rpc.Application
 
APPLICATION_STATISTIC - Static variable in class com.weibo.api.motan.common.MotanConstants
 
ApplicationInfo - Class in com.weibo.api.motan.rpc
Deprecated.
ApplicationInfo() - Constructor for class com.weibo.api.motan.rpc.ApplicationInfo
Deprecated.
 
applications - Static variable in class com.weibo.api.motan.rpc.ApplicationInfo
Deprecated.
 
ARRAY - Static variable in class com.weibo.api.motan.serialize.SimpleSerialization.SimpleType
 
async - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
async - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
ASYNC - Static variable in class com.weibo.api.motan.transport.async.MotanAsyncProcessor
 
ASYNC_SUFFIX - Static variable in class com.weibo.api.motan.common.MotanConstants
 
asyncCall(String, Object[], Class) - Method in interface com.weibo.api.motan.proxy.CommonHandler
async call a service with general handler
asyncCall(Request, Class) - Method in interface com.weibo.api.motan.proxy.CommonHandler
async call a service with request
asyncCall(String, Object[], Class) - Method in class com.weibo.api.motan.proxy.RefererCommonHandler
 
asyncCall(Request, Class) - Method in class com.weibo.api.motan.proxy.RefererCommonHandler
 
asyncInitConnection - Variable in class com.weibo.api.motan.config.AbstractRefererConfig
 
available(URL) - Method in interface com.weibo.api.motan.registry.RegistryService
set service status to available, so clients could use it
available(URL) - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
available - Variable in class com.weibo.api.motan.rpc.AbstractNode
 

B

backupRequestDelayRatio - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
backupRequestDelayTime - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
backupRequestMaxRetryRatio - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
backupRequestSwitcherName - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
BasicRefererInterfaceConfig - Class in com.weibo.api.motan.config
Base config for service and referer config.
BasicRefererInterfaceConfig() - Constructor for class com.weibo.api.motan.config.BasicRefererInterfaceConfig
 
BasicServiceInterfaceConfig - Class in com.weibo.api.motan.config
Base config for service and referer config.
BasicServiceInterfaceConfig() - Constructor for class com.weibo.api.motan.config.BasicServiceInterfaceConfig
 
beforeCall(URL, Request) - Static method in class com.weibo.api.motan.rpc.RpcStats
call before invoke the request
BITS - Static variable in class com.weibo.api.motan.util.RequestIdGenerator
 
BIZ_DEFAULT_ERROR_CODE - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
BIZ_DEFAULT_EXCEPTION - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
biz error start
bizExceptionCount - Variable in class com.weibo.api.motan.util.AccessStatisticResult
 
bizTime - Variable in class com.weibo.api.motan.util.AccessStatisticResult
 
BOOL - Static variable in class com.weibo.api.motan.serialize.SimpleSerialization.SimpleType
 
borrowObject() - Method in class com.weibo.api.motan.transport.AbstractPoolClient
 
buildClusterSupport(Class<T>, List<URL>) - Method in interface com.weibo.api.motan.config.handler.ConfigHandler
 
buildClusterSupport(Class<T>, List<URL>) - Method in class com.weibo.api.motan.config.handler.SimpleConfigHandler
 
buildErrorResponse(long, Exception) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
 
buildHeader(byte[]) - Static method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
buildRequest(String, Object[]) - Method in interface com.weibo.api.motan.proxy.CommonHandler
build request with methodName and arguments
buildRequest(String, Object[]) - Method in class com.weibo.api.motan.proxy.RefererCommonHandler
 
BYTE - Static variable in class com.weibo.api.motan.serialize.SimpleSerialization.SimpleType
 
BYTE_ARRAY - Static variable in class com.weibo.api.motan.serialize.SimpleSerialization.SimpleType
 
bytes2int(byte[], int) - Static method in class com.weibo.api.motan.util.ByteUtil
把byte数组中off开始的4个字节,转为int类型,高位在前
bytes2long(byte[], int) - Static method in class com.weibo.api.motan.util.ByteUtil
把byte数组中off开始的8个字节,转为long类型,高位在前
bytes2short(byte[], int) - Static method in class com.weibo.api.motan.util.ByteUtil
把byte数组中off开始的2个字节,转为short类型,高位在前
ByteUtil - Class in com.weibo.api.motan.util
 
ByteUtil() - Constructor for class com.weibo.api.motan.util.ByteUtil
 

C

call(Request, LoadBalance<T>) - Method in class com.weibo.api.motan.cluster.ha.FailfastHaStrategy
 
call(Request, LoadBalance<T>) - Method in class com.weibo.api.motan.cluster.ha.FailoverHaStrategy
 
call(Request, LoadBalance<T>) - Method in interface com.weibo.api.motan.cluster.HaStrategy
 
call(Request) - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
call(String, Object[], Class) - Method in interface com.weibo.api.motan.proxy.CommonHandler
call a service method with general handler
call(Request, Class) - Method in interface com.weibo.api.motan.proxy.CommonHandler
call a service method with request
call(String, Object[], Class, Map<String, String>, boolean) - Method in class com.weibo.api.motan.proxy.RefererCommonHandler
 
call(String, Object[], Class) - Method in class com.weibo.api.motan.proxy.RefererCommonHandler
 
call(Request, Class) - Method in class com.weibo.api.motan.proxy.RefererCommonHandler
 
call(Request) - Method in class com.weibo.api.motan.rpc.AbstractProvider
 
call(Request) - Method in class com.weibo.api.motan.rpc.AbstractReferer
 
call(Request) - Method in interface com.weibo.api.motan.rpc.Caller
 
call(Request, Provider<?>) - Method in class com.weibo.api.motan.transport.ProviderMessageRouter
 
call(Request, Provider<?>) - Method in class com.weibo.api.motan.transport.ProviderProtectedMessageRouter
 
Callbackable - Interface in com.weibo.api.motan.rpc
 
Caller<T> - Interface in com.weibo.api.motan.rpc
类说明
callFalse(Request, Exception) - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
cancel() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
cancel(Exception) - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
cancel() - Method in interface com.weibo.api.motan.rpc.Future
cancle the task
canServe(URL) - Method in class com.weibo.api.motan.rpc.URL
check if this url can serve the refUrl.
capacity() - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
Channel - Interface in com.weibo.api.motan.transport
类说明
channels - Variable in class com.weibo.api.motan.transport.AbstractSharedPoolClient
 
ChannelState - Enum in com.weibo.api.motan.common
channel 节点的状态
check - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
checkIfCanShallClientChannel(URL, URL) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
判断url:source和url:target是否可以使用共享的client channel(port) 对外提供服务
checkIfCanShareServiceChannel(URL, URL) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
判断url:source和url:target是否可以使用共享的service channel(port) 对外提供服务
checkInterfaceAndMethods(Class<?>, List<MethodConfig>) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
clear() - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
clear() - Method in class com.weibo.api.motan.util.ConcurrentHashSet
Removes all of the elements from this set.
client - Variable in class com.weibo.api.motan.protocol.rpc.DefaultRpcReferer
 
Client - Interface in com.weibo.api.motan.transport
类说明
ClientCommand() - Constructor for class com.weibo.api.motan.registry.support.command.RpcCommand.ClientCommand
 
Closable<T> - Interface in com.weibo.api.motan.closable
 
close() - Method in interface com.weibo.api.motan.closable.Closable
 
close - Variable in class com.weibo.api.motan.rpc.AbstractProvider
 
close() - Method in interface com.weibo.api.motan.transport.Channel
close the channel.
close(int) - Method in interface com.weibo.api.motan.transport.Channel
close the channel gracefully.
close() - Method in interface com.weibo.api.motan.transport.Transport
close transport
close(int) - Method in interface com.weibo.api.motan.transport.Transport
close transport
closeAllChannels() - Method in class com.weibo.api.motan.transport.AbstractSharedPoolClient
 
Cluster<T> - Interface in com.weibo.api.motan.cluster
Cluster is a service broker, used to
cluster - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
clusters - Variable in class com.weibo.api.motan.proxy.AbstractRefererHandler
 
ClusterSpi<T> - Class in com.weibo.api.motan.cluster.support
Cluster spi.
ClusterSpi() - Constructor for class com.weibo.api.motan.cluster.support.ClusterSpi
 
ClusterSupport<T> - Class in com.weibo.api.motan.cluster.support
Notify cluster the referers have changed.
ClusterSupport(Class<T>, List<URL>) - Constructor for class com.weibo.api.motan.cluster.support.ClusterSupport
 
clz - Variable in class com.weibo.api.motan.proxy.AbstractRefererHandler
 
clz - Variable in class com.weibo.api.motan.rpc.AbstractProvider
 
clz - Variable in class com.weibo.api.motan.rpc.AbstractReferer
 
Codec - Interface in com.weibo.api.motan.codec
 
codec - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
codec - Variable in class com.weibo.api.motan.transport.AbstractClient
 
codec - Variable in class com.weibo.api.motan.transport.AbstractServer
 
CODEC_VERSION_SWITCHER - Static variable in class com.weibo.api.motan.protocol.rpc.CompressRpcCodec
 
collectConfigParams(Map<String, String>, AbstractConfig...) - Static method in class com.weibo.api.motan.config.AbstractConfig
按顺序进行config 参数append and override,按照configs出现的顺序,后面的会覆盖前面的相同名称的参数
CollectionUtil - Class in com.weibo.api.motan.util
Utils for collections.
CollectionUtil() - Constructor for class com.weibo.api.motan.util.CollectionUtil
 
collectMethodConfigParams(Map<String, String>, List<MethodConfig>) - Static method in class com.weibo.api.motan.config.AbstractConfig
 
com.weibo.api.motan.closable - package com.weibo.api.motan.closable
 
com.weibo.api.motan.cluster - package com.weibo.api.motan.cluster
 
com.weibo.api.motan.cluster.ha - package com.weibo.api.motan.cluster.ha
 
com.weibo.api.motan.cluster.loadbalance - package com.weibo.api.motan.cluster.loadbalance
 
com.weibo.api.motan.cluster.support - package com.weibo.api.motan.cluster.support
 
com.weibo.api.motan.codec - package com.weibo.api.motan.codec
 
com.weibo.api.motan.common - package com.weibo.api.motan.common
 
com.weibo.api.motan.config - package com.weibo.api.motan.config
 
com.weibo.api.motan.config.annotation - package com.weibo.api.motan.config.annotation
 
com.weibo.api.motan.config.handler - package com.weibo.api.motan.config.handler
 
com.weibo.api.motan.core - package com.weibo.api.motan.core
 
com.weibo.api.motan.core.extension - package com.weibo.api.motan.core.extension
 
com.weibo.api.motan.exception - package com.weibo.api.motan.exception
 
com.weibo.api.motan.filter - package com.weibo.api.motan.filter
 
com.weibo.api.motan.log - package com.weibo.api.motan.log
 
com.weibo.api.motan.protocol - package com.weibo.api.motan.protocol
 
com.weibo.api.motan.protocol.injvm - package com.weibo.api.motan.protocol.injvm
 
com.weibo.api.motan.protocol.mock - package com.weibo.api.motan.protocol.mock
 
com.weibo.api.motan.protocol.rpc - package com.weibo.api.motan.protocol.rpc
 
com.weibo.api.motan.protocol.support - package com.weibo.api.motan.protocol.support
 
com.weibo.api.motan.protocol.v2motan - package com.weibo.api.motan.protocol.v2motan
 
com.weibo.api.motan.proxy - package com.weibo.api.motan.proxy
 
com.weibo.api.motan.proxy.spi - package com.weibo.api.motan.proxy.spi
 
com.weibo.api.motan.registry - package com.weibo.api.motan.registry
 
com.weibo.api.motan.registry.support - package com.weibo.api.motan.registry.support
 
com.weibo.api.motan.registry.support.command - package com.weibo.api.motan.registry.support.command
 
com.weibo.api.motan.rpc - package com.weibo.api.motan.rpc
 
com.weibo.api.motan.rpc.init - package com.weibo.api.motan.rpc.init
 
com.weibo.api.motan.serialize - package com.weibo.api.motan.serialize
 
com.weibo.api.motan.switcher - package com.weibo.api.motan.switcher
 
com.weibo.api.motan.transport - package com.weibo.api.motan.transport
 
com.weibo.api.motan.transport.async - package com.weibo.api.motan.transport.async
 
com.weibo.api.motan.transport.support - package com.weibo.api.motan.transport.support
 
com.weibo.api.motan.util - package com.weibo.api.motan.util
 
COMMA_SEPARATOR - Static variable in class com.weibo.api.motan.common.MotanConstants
 
COMMA_SPLIT_PATTERN - Static variable in class com.weibo.api.motan.common.MotanConstants
 
CommandFailbackRegistry - Class in com.weibo.api.motan.registry.support.command
 
CommandFailbackRegistry(URL) - Constructor for class com.weibo.api.motan.registry.support.command.CommandFailbackRegistry
 
CommandListener - Interface in com.weibo.api.motan.registry.support.command
 
commandPreview(URL, RpcCommand, String) - Method in class com.weibo.api.motan.registry.support.command.CommandFailbackRegistry
 
CommandServiceManager - Class in com.weibo.api.motan.registry.support.command
 
CommandServiceManager(URL) - Constructor for class com.weibo.api.motan.registry.support.command.CommandServiceManager
 
commandToString(RpcCommand) - Static method in class com.weibo.api.motan.registry.support.command.RpcCommandUtil
指令对象转为string
CommonHandler - Interface in com.weibo.api.motan.proxy
 
CommonProxyFactory - Class in com.weibo.api.motan.proxy.spi
common proxy
CommonProxyFactory() - Constructor for class com.weibo.api.motan.proxy.spi.CommonProxyFactory
 
compare(T, T) - Method in class com.weibo.api.motan.core.extension.ActivationComparator
sequence 大的排在后面,如果没有设置sequence的排到最前面
compress(byte[], boolean, int) - Method in class com.weibo.api.motan.protocol.rpc.CompressRpcCodec
 
CompressRpcCodec - Class in com.weibo.api.motan.protocol.rpc
压缩协议codec,支持开启gzip压缩。
CompressRpcCodec() - Constructor for class com.weibo.api.motan.protocol.rpc.CompressRpcCodec
 
ConcurrentHashSet<E> - Class in com.weibo.api.motan.util
 
ConcurrentHashSet() - Constructor for class com.weibo.api.motan.util.ConcurrentHashSet
 
ConcurrentHashSet(int) - Constructor for class com.weibo.api.motan.util.ConcurrentHashSet
 
ConfigDesc - Annotation Type in com.weibo.api.motan.config.annotation
对配置参数的描述,用于通过配置方法进行配置属性自动装载
ConfigHandler - Interface in com.weibo.api.motan.config.handler
Handle urls which are from config.
ConfigurableWeightLoadBalance<T> - Class in com.weibo.api.motan.cluster.loadbalance
权重可配置的负载均衡器
ConfigurableWeightLoadBalance() - Constructor for class com.weibo.api.motan.cluster.loadbalance.ConfigurableWeightLoadBalance
 
ConfigUtil - Class in com.weibo.api.motan.config
Config tools
ConfigUtil() - Constructor for class com.weibo.api.motan.config.ConfigUtil
 
connect() - Method in interface com.weibo.api.motan.transport.Transport
transport connect
connections - Variable in class com.weibo.api.motan.transport.AbstractSharedPoolClient
 
ConsistentHashLoadBalance<T> - Class in com.weibo.api.motan.cluster.loadbalance
Use consistent hash to choose referer
ConsistentHashLoadBalance() - Constructor for class com.weibo.api.motan.cluster.loadbalance.ConsistentHashLoadBalance
 
contains(Object) - Method in class com.weibo.api.motan.util.ConcurrentHashSet
Returns true if this set contains the specified element.
CONTENT_LENGTH - Static variable in class com.weibo.api.motan.common.MotanConstants
 
contextDestroyed(ServletContextEvent) - Method in class com.weibo.api.motan.closable.ShutDownHookListener
 
contextInitialized(ServletContextEvent) - Method in class com.weibo.api.motan.closable.ShutDownHookListener
 
costTime - Variable in class com.weibo.api.motan.util.AccessStatisticResult
 
CountTime() - Constructor for class com.weibo.api.motan.rpc.RpcStats.CountTime
 
createChannelFactory() - Method in class com.weibo.api.motan.transport.AbstractPoolClient
 
createChannelFactory() - Method in class com.weibo.api.motan.transport.AbstractSharedPoolClient
 
createClient(URL) - Method in interface com.weibo.api.motan.transport.EndpointFactory
create remote client
createClient(URL) - Method in class com.weibo.api.motan.transport.support.AbstractEndpointFactory
 
createCopy() - Method in class com.weibo.api.motan.rpc.URL
 
createExporter(Provider<T>, URL) - Method in class com.weibo.api.motan.protocol.AbstractProtocol
 
createExporter(Provider<T>, URL) - Method in class com.weibo.api.motan.protocol.injvm.InjvmProtocol
 
createExporter(Provider<T>, URL) - Method in class com.weibo.api.motan.protocol.mock.AbstractMockRpcProtocol
 
createExporter(Provider<T>, URL) - Method in class com.weibo.api.motan.protocol.rpc.DefaultRpcProtocol
 
createExporter(Provider<T>, URL) - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Protocol
 
createInput(InputStream) - Method in class com.weibo.api.motan.codec.AbstractCodec
 
createOutput(OutputStream) - Method in class com.weibo.api.motan.codec.AbstractCodec
 
createReferer(Class<T>, URL, URL) - Method in class com.weibo.api.motan.protocol.AbstractProtocol
 
createReferer(Class<T>, URL, URL) - Method in class com.weibo.api.motan.protocol.injvm.InjvmProtocol
 
createReferer(Class<T>, URL, URL) - Method in class com.weibo.api.motan.protocol.mock.AbstractMockRpcProtocol
 
createReferer(Class<T>, URL, URL) - Method in class com.weibo.api.motan.protocol.rpc.DefaultRpcProtocol
 
createReferer(Class<T>, URL, URL) - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Protocol
 
createRegistry(URL) - Method in class com.weibo.api.motan.registry.support.AbstractRegistryFactory
 
createRegistry(URL) - Method in class com.weibo.api.motan.registry.support.DirectRegistryFactory
 
createRegistry(URL) - Method in class com.weibo.api.motan.registry.support.LocalRegistryFactory
 
createRequest() - Method in interface com.weibo.api.motan.transport.HeartbeatFactory
创建心跳包
createRequest() - Method in class com.weibo.api.motan.transport.support.DefaultRpcHeartbeatFactory
 
createServer(URL, MessageHandler) - Method in interface com.weibo.api.motan.transport.EndpointFactory
create remote server
createServer(URL, MessageHandler) - Method in class com.weibo.api.motan.transport.support.AbstractEndpointFactory
 
createTime - Variable in class com.weibo.api.motan.rpc.DefaultResponseFuture
 

D

debug(String) - Method in class com.weibo.api.motan.log.DefaultLogService
 
debug(String, Object...) - Method in class com.weibo.api.motan.log.DefaultLogService
 
debug(String, Throwable) - Method in class com.weibo.api.motan.log.DefaultLogService
 
debug(String) - Method in interface com.weibo.api.motan.log.LogService
 
debug(String, Object...) - Method in interface com.weibo.api.motan.log.LogService
 
debug(String, Throwable) - Method in interface com.weibo.api.motan.log.LogService
 
debug(String) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
debug(String, Object...) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
debug(String, Throwable) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
decode(Channel, String, byte[]) - Method in interface com.weibo.api.motan.codec.Codec
 
decode(Channel, String, byte[]) - Method in class com.weibo.api.motan.protocol.rpc.CompressRpcCodec
decode data
decode(Channel, String, byte[]) - Method in class com.weibo.api.motan.protocol.rpc.DefaultRpcCodec
decode data
decode(Channel, String, byte[]) - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Codec
decode data
decodeV2(Channel, String, byte[]) - Method in class com.weibo.api.motan.protocol.rpc.CompressRpcCodec
decode data
decodeZigZag32(int) - Static method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
decodeZigZag64(long) - Static method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
decrActiveCount(Request, Response) - Method in class com.weibo.api.motan.protocol.rpc.DefaultRpcReferer
 
decrActiveCount(Request, Response) - Method in class com.weibo.api.motan.rpc.AbstractReferer
 
DEFAULT_CHARACTER - Static variable in class com.weibo.api.motan.common.MotanConstants
 
DEFAULT_CODEC - Static variable in class com.weibo.api.motan.protocol.v2motan.MotanV2Protocol
 
DEFAULT_CONSISTENT_HASH_BASE_LOOP - Static variable in class com.weibo.api.motan.common.MotanConstants
默认的consistent的hash的数量
DEFAULT_INT_VALUE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
DEFAULT_MAX_IDLE_TIME - Static variable in class com.weibo.api.motan.core.StandardThreadExecutor
 
DEFAULT_MAX_THREADS - Static variable in class com.weibo.api.motan.core.StandardThreadExecutor
 
DEFAULT_MIN_THREADS - Static variable in class com.weibo.api.motan.core.StandardThreadExecutor
 
DEFAULT_THROWS_EXCEPTION - Static variable in class com.weibo.api.motan.common.MotanConstants
 
DEFAULT_VALUE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
DEFAULT_VERSION - Static variable in class com.weibo.api.motan.common.MotanConstants
 
DefaultLogService - Class in com.weibo.api.motan.log
 
DefaultLogService() - Constructor for class com.weibo.api.motan.log.DefaultLogService
 
defaultMinEvictableIdleTimeMillis - Static variable in class com.weibo.api.motan.transport.AbstractPoolClient
 
DefaultProvider<T> - Class in com.weibo.api.motan.rpc
 
DefaultProvider(T, URL, Class<T>) - Constructor for class com.weibo.api.motan.rpc.DefaultProvider
 
DefaultRequest - Class in com.weibo.api.motan.rpc
Rpc Request
DefaultRequest() - Constructor for class com.weibo.api.motan.rpc.DefaultRequest
 
DefaultResponse - Class in com.weibo.api.motan.rpc
Response received via rpc.
DefaultResponse() - Constructor for class com.weibo.api.motan.rpc.DefaultResponse
 
DefaultResponse(long) - Constructor for class com.weibo.api.motan.rpc.DefaultResponse
 
DefaultResponse(Response) - Constructor for class com.weibo.api.motan.rpc.DefaultResponse
 
DefaultResponse(Object) - Constructor for class com.weibo.api.motan.rpc.DefaultResponse
 
DefaultResponse(Object, long) - Constructor for class com.weibo.api.motan.rpc.DefaultResponse
 
DefaultResponseFuture - Class in com.weibo.api.motan.rpc
Created by zhanglei28 on 2017/9/11.
DefaultResponseFuture(Request, int, URL) - Constructor for class com.weibo.api.motan.rpc.DefaultResponseFuture
 
DefaultRpcCodec - Class in com.weibo.api.motan.protocol.rpc
 
DefaultRpcCodec() - Constructor for class com.weibo.api.motan.protocol.rpc.DefaultRpcCodec
 
DefaultRpcExporter<T> - Class in com.weibo.api.motan.protocol.rpc
Created by zhanglei28 on 2017/9/1.
DefaultRpcExporter(Provider<T>, URL, ConcurrentHashMap<String, ProviderMessageRouter>, ConcurrentHashMap<String, Exporter<?>>) - Constructor for class com.weibo.api.motan.protocol.rpc.DefaultRpcExporter
 
DefaultRpcHeartbeatFactory - Class in com.weibo.api.motan.transport.support
 
DefaultRpcHeartbeatFactory() - Constructor for class com.weibo.api.motan.transport.support.DefaultRpcHeartbeatFactory
 
DefaultRpcProtocol - Class in com.weibo.api.motan.protocol.rpc
 
DefaultRpcProtocol() - Constructor for class com.weibo.api.motan.protocol.rpc.DefaultRpcProtocol
 
DefaultRpcReferer<T> - Class in com.weibo.api.motan.protocol.rpc
Created by zhanglei28 on 2017/9/1.
DefaultRpcReferer(Class<T>, URL, URL) - Constructor for class com.weibo.api.motan.protocol.rpc.DefaultRpcReferer
 
defaultSoftMinEvictableIdleTimeMillis - Static variable in class com.weibo.api.motan.transport.AbstractPoolClient
 
DefaultThreadFactory - Class in com.weibo.api.motan.core
 
DefaultThreadFactory() - Constructor for class com.weibo.api.motan.core.DefaultThreadFactory
 
DefaultThreadFactory(String) - Constructor for class com.weibo.api.motan.core.DefaultThreadFactory
 
DefaultThreadFactory(String, boolean) - Constructor for class com.weibo.api.motan.core.DefaultThreadFactory
 
DefaultThreadFactory(String, boolean, int) - Constructor for class com.weibo.api.motan.core.DefaultThreadFactory
 
defaultTimeBetweenEvictionRunsMillis - Static variable in class com.weibo.api.motan.transport.AbstractPoolClient
 
delayDestroy(List<Referer<T>>) - Static method in class com.weibo.api.motan.rpc.RefererSupports
 
desc() - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
desc() - Method in class com.weibo.api.motan.rpc.AbstractExporter
 
desc() - Method in class com.weibo.api.motan.rpc.AbstractProvider
 
desc() - Method in class com.weibo.api.motan.rpc.AbstractReferer
 
desc() - Method in interface com.weibo.api.motan.rpc.Node
 
DeserializableObject - Class in com.weibo.api.motan.serialize
Created by zhanglei28 on 2017/5/9.
DeserializableObject(Serialization, byte[]) - Constructor for class com.weibo.api.motan.serialize.DeserializableObject
 
deserialize(byte[], Class<?>, Serialization) - Method in class com.weibo.api.motan.codec.AbstractCodec
 
deserialize(byte[], Class<T>) - Method in interface com.weibo.api.motan.codec.Serialization
 
deserialize(Class<T>) - Method in class com.weibo.api.motan.serialize.DeserializableObject
 
deserialize(byte[], Class<T>) - Method in class com.weibo.api.motan.serialize.FastJsonSerialization
 
deserialize(byte[], Class<T>) - Method in class com.weibo.api.motan.serialize.Hessian2Serialization
 
deserialize(byte[], Class<T>) - Method in class com.weibo.api.motan.serialize.SimpleSerialization
 
deserializeMulti(byte[], Class<?>[]) - Method in interface com.weibo.api.motan.codec.Serialization
 
deserializeMulti(Class<?>[]) - Method in class com.weibo.api.motan.serialize.DeserializableObject
 
deserializeMulti(byte[], Class<?>[]) - Method in class com.weibo.api.motan.serialize.FastJsonSerialization
 
deserializeMulti(byte[], Class<?>[]) - Method in class com.weibo.api.motan.serialize.Hessian2Serialization
 
deserializeMulti(byte[], Class<?>[]) - Method in class com.weibo.api.motan.serialize.SimpleSerialization
 
destroy() - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
destroy() - Method in class com.weibo.api.motan.cluster.support.ClusterSupport
 
destroy() - Method in class com.weibo.api.motan.config.RefererConfig
 
destroy() - Method in class com.weibo.api.motan.protocol.AbstractProtocol
 
destroy() - Method in class com.weibo.api.motan.protocol.rpc.DefaultRpcExporter
 
destroy() - Method in class com.weibo.api.motan.protocol.rpc.DefaultRpcReferer
 
destroy() - Method in class com.weibo.api.motan.protocol.support.ProtocolFilterDecorator
 
destroy() - Method in class com.weibo.api.motan.rpc.AbstractProvider
 
destroy() - Method in interface com.weibo.api.motan.rpc.Node
 
destroy() - Method in interface com.weibo.api.motan.rpc.Protocol
1) exporter destroy 2) referer destroy
destroy() - Static method in class com.weibo.api.motan.rpc.RpcContext
 
destroy() - Method in interface com.weibo.api.motan.transport.EndpointManager
 
destroy() - Method in class com.weibo.api.motan.transport.support.HeartbeatClientEndpointManager
 
DirectRegistry - Class in com.weibo.api.motan.registry.support
Created by axb on 16/6/12.
DirectRegistry(URL) - Constructor for class com.weibo.api.motan.registry.support.DirectRegistry
 
DirectRegistryFactory - Class in com.weibo.api.motan.registry.support
Created by axb on 16/6/12.
DirectRegistryFactory() - Constructor for class com.weibo.api.motan.registry.support.DirectRegistryFactory
 
discover(URL) - Method in interface com.weibo.api.motan.registry.DiscoveryService
 
discover(URL) - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
discover(URL) - Method in class com.weibo.api.motan.registry.support.FailbackRegistry
 
discoverCommand(URL) - Method in class com.weibo.api.motan.registry.support.command.CommandFailbackRegistry
 
discoverService(URL) - Method in class com.weibo.api.motan.registry.support.command.CommandFailbackRegistry
 
discoverServiceWithCommand(URL, Map<String, Integer>, RpcCommand) - Method in class com.weibo.api.motan.registry.support.command.CommandServiceManager
 
discoverServiceWithCommand(URL, Map<String, Integer>, RpcCommand, String) - Method in class com.weibo.api.motan.registry.support.command.CommandServiceManager
 
DiscoveryService - Interface in com.weibo.api.motan.registry
Deicovery service.
doAvailable(URL) - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
doAvailable(URL) - Method in class com.weibo.api.motan.registry.support.DirectRegistry
 
doAvailable(URL) - Method in class com.weibo.api.motan.registry.support.LocalRegistryService
 
doCall(Request) - Method in class com.weibo.api.motan.protocol.rpc.DefaultRpcReferer
 
doCall(Request) - Method in class com.weibo.api.motan.rpc.AbstractReferer
 
doDiscover(URL) - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
doDiscover(URL) - Method in class com.weibo.api.motan.registry.support.command.CommandFailbackRegistry
 
doDiscover(URL) - Method in class com.weibo.api.motan.registry.support.DirectRegistry
 
doDiscover(URL) - Method in class com.weibo.api.motan.registry.support.LocalRegistryService
 
doInit() - Method in class com.weibo.api.motan.protocol.rpc.DefaultRpcExporter
 
doInit() - Method in class com.weibo.api.motan.protocol.rpc.DefaultRpcReferer
 
doInit() - Method in class com.weibo.api.motan.rpc.AbstractNode
 
done() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
doRegister(URL) - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
doRegister(URL) - Method in class com.weibo.api.motan.registry.support.DirectRegistry
 
doRegister(URL) - Method in class com.weibo.api.motan.registry.support.LocalRegistryService
 
doSelect(Request) - Method in class com.weibo.api.motan.cluster.loadbalance.AbstractLoadBalance
 
doSelect(Request) - Method in class com.weibo.api.motan.cluster.loadbalance.ActiveWeightLoadBalance
 
doSelect(Request) - Method in class com.weibo.api.motan.cluster.loadbalance.ConfigurableWeightLoadBalance
 
doSelect(Request) - Method in class com.weibo.api.motan.cluster.loadbalance.ConsistentHashLoadBalance
 
doSelect(Request) - Method in class com.weibo.api.motan.cluster.loadbalance.LocalFirstLoadBalance
 
doSelect(Request) - Method in class com.weibo.api.motan.cluster.loadbalance.RandomLoadBalance
 
doSelect(Request) - Method in class com.weibo.api.motan.cluster.loadbalance.RoundRobinLoadBalance
 
doSelectToHolder(Request, List<Referer<T>>) - Method in class com.weibo.api.motan.cluster.loadbalance.AbstractLoadBalance
 
doSelectToHolder(Request, List<Referer<T>>) - Method in class com.weibo.api.motan.cluster.loadbalance.ActiveWeightLoadBalance
 
doSelectToHolder(Request, List<Referer<T>>) - Method in class com.weibo.api.motan.cluster.loadbalance.ConfigurableWeightLoadBalance
 
doSelectToHolder(Request, List<Referer<T>>) - Method in class com.weibo.api.motan.cluster.loadbalance.ConsistentHashLoadBalance
 
doSelectToHolder(Request, List<Referer<T>>) - Method in class com.weibo.api.motan.cluster.loadbalance.LocalFirstLoadBalance
 
doSelectToHolder(Request, List<Referer<T>>) - Method in class com.weibo.api.motan.cluster.loadbalance.RandomLoadBalance
 
doSelectToHolder(Request, List<Referer<T>>) - Method in class com.weibo.api.motan.cluster.loadbalance.RoundRobinLoadBalance
 
doSubscribe(URL, NotifyListener) - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
doSubscribe(URL, NotifyListener) - Method in class com.weibo.api.motan.registry.support.command.CommandFailbackRegistry
 
doSubscribe(URL, NotifyListener) - Method in class com.weibo.api.motan.registry.support.DirectRegistry
 
doSubscribe(URL, NotifyListener) - Method in class com.weibo.api.motan.registry.support.LocalRegistryService
 
doUnavailable(URL) - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
doUnavailable(URL) - Method in class com.weibo.api.motan.registry.support.DirectRegistry
 
doUnavailable(URL) - Method in class com.weibo.api.motan.registry.support.LocalRegistryService
 
doUnregister(URL) - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
doUnregister(URL) - Method in class com.weibo.api.motan.registry.support.DirectRegistry
 
doUnregister(URL) - Method in class com.weibo.api.motan.registry.support.LocalRegistryService
 
doUnsubscribe(URL, NotifyListener) - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
doUnsubscribe(URL, NotifyListener) - Method in class com.weibo.api.motan.registry.support.command.CommandFailbackRegistry
 
doUnsubscribe(URL, NotifyListener) - Method in class com.weibo.api.motan.registry.support.DirectRegistry
 
doUnsubscribe(URL, NotifyListener) - Method in class com.weibo.api.motan.registry.support.LocalRegistryService
 

E

EMPTY_PARAM - Static variable in class com.weibo.api.motan.util.ReflectUtil
 
encode(Channel, Object) - Method in interface com.weibo.api.motan.codec.Codec
 
encode(Channel, Object) - Method in class com.weibo.api.motan.protocol.rpc.CompressRpcCodec
 
encode(Channel, Object) - Method in class com.weibo.api.motan.protocol.rpc.DefaultRpcCodec
 
encode(Channel, Object) - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Codec
 
encodeV2(Channel, Object) - Method in class com.weibo.api.motan.protocol.rpc.CompressRpcCodec
 
encodeZigZag32(int) - Static method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
encodeZigZag64(long) - Static method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
Endpoint - Interface in com.weibo.api.motan.transport
Endpoint of client or server.
endpointFactory - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
endpointFactory - Variable in class com.weibo.api.motan.protocol.rpc.DefaultRpcExporter
 
endpointFactory - Variable in class com.weibo.api.motan.protocol.rpc.DefaultRpcReferer
 
EndpointFactory - Interface in com.weibo.api.motan.transport
 
EndpointManager - Interface in com.weibo.api.motan.transport
 
EQUAL_SIGN_PATTERN - Static variable in class com.weibo.api.motan.common.MotanConstants
 
EQUAL_SIGN_SEPERATOR - Static variable in class com.weibo.api.motan.common.MotanConstants
 
equals(Object) - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
equals(Object) - Method in class com.weibo.api.motan.rpc.URL
 
error(String) - Method in class com.weibo.api.motan.log.DefaultLogService
 
error(String, Object...) - Method in class com.weibo.api.motan.log.DefaultLogService
 
error(String, Throwable) - Method in class com.weibo.api.motan.log.DefaultLogService
 
error(String) - Method in interface com.weibo.api.motan.log.LogService
 
error(String, Object...) - Method in interface com.weibo.api.motan.log.LogService
 
error(String, Throwable) - Method in interface com.weibo.api.motan.log.LogService
 
error(String) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
error(String, Object...) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
error(String, Throwable) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
errorMsg - Variable in exception com.weibo.api.motan.exception.MotanAbstractException
 
errorRate - Variable in class com.weibo.api.motan.config.AbstractRefererConfig
 
exception - Variable in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
ExceptionUtil - Class in com.weibo.api.motan.util
 
ExceptionUtil() - Constructor for class com.weibo.api.motan.util.ExceptionUtil
 
execute(Runnable) - Method in class com.weibo.api.motan.core.StandardThreadExecutor
 
executorService - Static variable in class com.weibo.api.motan.util.StatsUtil
 
export - Variable in class com.weibo.api.motan.config.AbstractServiceConfig
一个service可以按多个protocol提供服务,不同protocol使用不同port 利用export来设置protocol和port,格式如下: protocol1:port1,protocol2:port2
export(Class<T>, T, List<URL>) - Method in interface com.weibo.api.motan.config.handler.ConfigHandler
 
export(Class<T>, T, List<URL>) - Method in class com.weibo.api.motan.config.handler.SimpleConfigHandler
 
export() - Method in class com.weibo.api.motan.config.ServiceConfig
 
export(Provider<T>, URL) - Method in class com.weibo.api.motan.protocol.AbstractProtocol
 
export(Provider<T>, URL) - Method in class com.weibo.api.motan.protocol.support.ProtocolFilterDecorator
 
export(Provider<T>, URL) - Method in interface com.weibo.api.motan.rpc.Protocol
暴露服务
Exporter<T> - Interface in com.weibo.api.motan.rpc
Export service providers.
exporterMap - Variable in class com.weibo.api.motan.protocol.AbstractProtocol
 
exporterMap - Variable in class com.weibo.api.motan.protocol.rpc.DefaultRpcExporter
 
extConfig - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
ExtConfig - Class in com.weibo.api.motan.config
扩展配置的扩展点,需要在refererConfig和serviceConfig中增加更多配置的应用,通过此类扩展。
ExtConfig() - Constructor for class com.weibo.api.motan.config.ExtConfig
 
ExtensionLoader<T> - Class in com.weibo.api.motan.core.extension
扩展增加的方式: 支持 JDK ServiceProvider 支持 weibo:spi 配置
extractProtocols(String) - Static method in class com.weibo.api.motan.config.ConfigUtil
 

F

factory - Variable in class com.weibo.api.motan.transport.AbstractPoolClient
 
factory - Variable in class com.weibo.api.motan.transport.AbstractSharedPoolClient
 
FailbackRegistry - Class in com.weibo.api.motan.registry.support
Failback registry
FailbackRegistry(URL) - Constructor for class com.weibo.api.motan.registry.support.FailbackRegistry
 
FailfastHaStrategy<T> - Class in com.weibo.api.motan.cluster.ha
Fail fast ha strategy.
FailfastHaStrategy() - Constructor for class com.weibo.api.motan.cluster.ha.FailfastHaStrategy
 
FailoverHaStrategy<T> - Class in com.weibo.api.motan.cluster.ha
Failover ha strategy.
FailoverHaStrategy() - Constructor for class com.weibo.api.motan.cluster.ha.FailoverHaStrategy
 
FastJsonSerialization - Class in com.weibo.api.motan.serialize
fastjson 序列化
FastJsonSerialization() - Constructor for class com.weibo.api.motan.serialize.FastJsonSerialization
 
filter - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
filter - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
filter(Caller<?>, Request) - Method in class com.weibo.api.motan.filter.AccessLogFilter
 
filter(Caller<?>, Request) - Method in class com.weibo.api.motan.filter.AccessStatisticFilter
 
filter(Caller<?>, Request) - Method in class com.weibo.api.motan.filter.ActiveLimitFilter
 
Filter - Interface in com.weibo.api.motan.filter
filter before transport.
filter(Caller<?>, Request) - Method in interface com.weibo.api.motan.filter.Filter
 
filter(Caller<?>, Request) - Method in class com.weibo.api.motan.filter.ServiceMockFilter
 
filter(Caller<?>, Request) - Method in class com.weibo.api.motan.filter.SwitcherFilter
 
filter(Caller<?>, Request) - Method in class com.weibo.api.motan.filter.ThreadProtectedFilter
 
FLAG_OTHER - Static variable in class com.weibo.api.motan.common.MotanConstants
 
FLAG_REQUEST - Static variable in class com.weibo.api.motan.common.MotanConstants
 
FLAG_RESPONSE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
FLAG_RESPONSE_ATTACHMENT - Static variable in class com.weibo.api.motan.common.MotanConstants
 
FLAG_RESPONSE_EXCEPTION - Static variable in class com.weibo.api.motan.common.MotanConstants
 
FLAG_RESPONSE_VOID - Static variable in class com.weibo.api.motan.common.MotanConstants
 
flip() - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
FLOAT32 - Static variable in class com.weibo.api.motan.serialize.SimpleSerialization.SimpleType
 
FLOAT64 - Static variable in class com.weibo.api.motan.serialize.SimpleSerialization.SimpleType
 
forName(String) - Static method in class com.weibo.api.motan.util.ReflectUtil
 
forNames(String) - Static method in class com.weibo.api.motan.util.ReflectUtil
 
FRAMEWORK_DECODE_ERROR - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
FRAMEWORK_DECODE_ERROR_CODE - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
FRAMEWORK_DEFAULT_ERROR - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
framework error start
FRAMEWORK_DEFAULT_ERROR_CODE - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
FRAMEWORK_ENCODE_ERROR - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
service error end
FRAMEWORK_ENCODE_ERROR_CODE - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
FRAMEWORK_EXPORT_ERROR - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
FRAMEWORK_EXPORT_ERROR_CODE - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
FRAMEWORK_INIT_ERROR - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
FRAMEWORK_INIT_ERROR_CODE - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
FRAMEWORK_NAME - Static variable in class com.weibo.api.motan.common.MotanConstants
 
FRAMEWORK_REFER_ERROR - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
FRAMEWORK_REFER_ERROR_CODE - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
FRAMEWORK_REGISTER_ERROR_CODE - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
FRAMEWORK_SERVER_ERROR_CODE - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
fromMessage(String) - Static method in class com.weibo.api.motan.util.ExceptionUtil
 
Future - Interface in com.weibo.api.motan.rpc
 
FutureListener - Interface in com.weibo.api.motan.rpc
用于监听Future的success和fail事件
FutureState - Enum in com.weibo.api.motan.common
future task state

G

GENERATE_PATH_KEY - Static variable in class com.weibo.api.motan.transport.async.MotanAsyncProcessor
 
get() - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
get(int) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
get(byte[]) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
getAcceptConnections() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getAccessLog() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getActiveCount() - Method in class com.weibo.api.motan.rpc.RpcStats.StatInfo
 
getActives() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getActives() - Method in class com.weibo.api.motan.config.MethodConfig
 
getAddress() - Method in class com.weibo.api.motan.config.RegistryConfig
 
getAllSwitchers() - Method in class com.weibo.api.motan.switcher.LocalSwitcherService
 
getAllSwitchers() - Method in interface com.weibo.api.motan.switcher.SwitcherService
获取所有接口降级开关
getAllUrl() - Method in class com.weibo.api.motan.registry.support.LocalRegistryService
防止数据在外部被变更,因此copy一份
getApplication() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getApplication() - Method in class com.weibo.api.motan.rpc.Application
 
getApplication(URL) - Static method in class com.weibo.api.motan.rpc.ApplicationInfo
Deprecated.
 
getApplication() - Method in class com.weibo.api.motan.rpc.URL
 
getArguments() - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
getArguments() - Method in interface com.weibo.api.motan.rpc.Request
service method param
getArgumentTypes() - Method in class com.weibo.api.motan.config.MethodConfig
 
getAsync() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getAsync() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getAsyncInitConnection() - Method in class com.weibo.api.motan.config.AbstractRefererConfig
 
getAttachments() - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
getAttachments() - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
getAttachments() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
getAttachments() - Method in interface com.weibo.api.motan.rpc.Request
get framework param
getAttachments() - Method in interface com.weibo.api.motan.rpc.Response
 
getAttribute(Object) - Method in class com.weibo.api.motan.rpc.RpcContext
 
getAttributes() - Method in class com.weibo.api.motan.rpc.RpcContext
 
getAvailable() - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
getBackupRequestDelayRatio() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getBackupRequestDelayTime() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getBackupRequestMaxRetryRatio() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getBackupRequestSwitcherName() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getBasicReferer() - Method in class com.weibo.api.motan.config.RefererConfig
 
getBasicService() - Method in class com.weibo.api.motan.config.ServiceConfig
 
getBooleanParameter(String, boolean) - Method in class com.weibo.api.motan.rpc.URL
 
getBooleanParameter(String) - Method in class com.weibo.api.motan.rpc.URL
 
getBooleanValue() - Method in enum com.weibo.api.motan.common.URLParamType
 
getCachedUrls(URL) - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
getChannel(InetSocketAddress) - Method in class com.weibo.api.motan.transport.AbstractServer
 
getChannel() - Method in class com.weibo.api.motan.transport.AbstractSharedPoolClient
 
getChannel(InetSocketAddress) - Method in interface com.weibo.api.motan.transport.Server
get channel.
getChannels() - Method in class com.weibo.api.motan.transport.AbstractServer
 
getChannels() - Method in interface com.weibo.api.motan.transport.Server
get channels.
getCheck() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getCheck() - Method in class com.weibo.api.motan.config.RegistryConfig
 
getClientCommandList() - Method in class com.weibo.api.motan.registry.support.command.RpcCommand
 
getClientRequestId() - Method in class com.weibo.api.motan.rpc.RpcContext
 
getClients() - Method in class com.weibo.api.motan.transport.support.HeartbeatClientEndpointManager
 
getCluster() - Method in class com.weibo.api.motan.cluster.support.ClusterSupport
 
getCluster() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getClusterSupports() - Method in class com.weibo.api.motan.config.RefererConfig
 
getCodec() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getCodec() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getCommandManagerMap() - Method in class com.weibo.api.motan.registry.support.command.CommandFailbackRegistry
 
getConnectTimeout() - Method in class com.weibo.api.motan.config.RegistryConfig
 
getContext() - Static method in class com.weibo.api.motan.rpc.RpcContext
 
getCount() - Method in class com.weibo.api.motan.rpc.RpcStats.CountTime
 
getCrc32(String) - Static method in class com.weibo.api.motan.util.MotanDigestUtil
 
getCrc32(byte[]) - Static method in class com.weibo.api.motan.util.MotanDigestUtil
 
getCreateTime() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
getCreateTime() - Method in interface com.weibo.api.motan.rpc.ResponseFuture
 
getDc() - Method in class com.weibo.api.motan.registry.support.command.RpcCommand.ClientCommand
 
getDecorateProtocol(String) - Method in class com.weibo.api.motan.cluster.support.ClusterSupport
 
getDefaultHeartbeatRequest(long) - Static method in class com.weibo.api.motan.transport.support.DefaultRpcHeartbeatFactory
 
getDefaultHeartbeatResponse(long) - Static method in class com.weibo.api.motan.transport.support.DefaultRpcHeartbeatFactory
 
getDefaultMetricsRegistry() - Static method in class com.weibo.api.motan.util.InternalMetricsFactory
返回默认的 MetricRegistry
getDefaultProtocolConfig() - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
获取默认motan协议配置
getDefaultRegistryConfig() - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
默认本地注册中心
getDirectUrl() - Method in class com.weibo.api.motan.config.RefererConfig
 
getDouble() - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
getDouble(int) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
getEmptyObject(Class<?>) - Static method in class com.weibo.api.motan.util.ReflectUtil
 
getEndpointFactory() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getEndpointManager() - Method in class com.weibo.api.motan.transport.support.AbstractEndpointFactory
 
getErrorCode() - Method in exception com.weibo.api.motan.exception.MotanAbstractException
 
getErrorCode() - Method in class com.weibo.api.motan.exception.MotanErrorMsg
 
getErrorRate() - Method in class com.weibo.api.motan.config.AbstractRefererConfig
 
getException() - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
getException() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
getException() - Method in interface com.weibo.api.motan.rpc.Future
if task is done or cancle, return the exception
getException() - Method in interface com.weibo.api.motan.rpc.Response
如果request处理有异常,那么调用该方法return exception 如果request还没处理完或者request处理正常,那么return null
getExcise() - Method in class com.weibo.api.motan.config.RegistryConfig
 
getExistingServices() - Static method in class com.weibo.api.motan.config.ServiceConfig
 
getExport() - Method in class com.weibo.api.motan.config.AbstractServiceConfig
 
getExported() - Method in class com.weibo.api.motan.config.ServiceConfig
 
getExporterMap() - Method in class com.weibo.api.motan.protocol.AbstractProtocol
 
getExporters() - Method in class com.weibo.api.motan.config.ServiceConfig
 
getExtConfig() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getExtension(String) - Method in class com.weibo.api.motan.core.extension.ExtensionLoader
 
getExtensionClass(String) - Method in class com.weibo.api.motan.core.extension.ExtensionLoader
 
getExtensionLoader(Class<T>) - Static method in class com.weibo.api.motan.core.extension.ExtensionLoader
 
getExtensions(String) - Method in class com.weibo.api.motan.core.extension.ExtensionLoader
有些地方需要spi的所有激活的instances,所以需要能返回一个列表的方法 注意:1 SpiMeta 中的active 为true; 2 按照spiMeta中的sequence进行排序 FIXME: 是否需要对singleton来区分对待,后面再考虑 fishermen
getFailCount() - Method in class com.weibo.api.motan.rpc.RpcStats.StatInfo
 
getFilter() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getFilter() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getFloat() - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
getFloat(int) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
getFloatParameter(String, float) - Method in class com.weibo.api.motan.rpc.URL
 
getFullMethodString(Request) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
根据Request得到 interface.method(paramDesc) 的 desc
getGroup() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getGroup() - Method in class com.weibo.api.motan.rpc.URL
 
getGroupFromRequest(Request) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
 
getGroupMethodString(Request) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
 
getHaStrategy() - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
getHaStrategy() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getHeaderLength() - Method in enum com.weibo.api.motan.protocol.rpc.RpcProtocolVersion
 
getHost() - Method in class com.weibo.api.motan.config.AbstractServiceConfig
 
getHost() - Method in class com.weibo.api.motan.config.ServiceConfig
 
getHost() - Method in class com.weibo.api.motan.rpc.URL
 
getHostName(SocketAddress) - Static method in class com.weibo.api.motan.util.NetUtils
 
getId() - Method in class com.weibo.api.motan.config.AbstractConfig
 
getId() - Method in class com.weibo.api.motan.config.SpiConfig
 
getIdentity() - Method in class com.weibo.api.motan.rpc.URL
返回一个service or referer的identity,如果两个url的identity相同,则表示相同的一个service或者referer
getImpl() - Method in class com.weibo.api.motan.rpc.DefaultProvider
 
getImpl() - Method in interface com.weibo.api.motan.rpc.Provider
 
getIndex() - Method in class com.weibo.api.motan.registry.support.command.RpcCommand.ClientCommand
 
getInitialization() - Static method in class com.weibo.api.motan.rpc.init.InitializationFactory
 
getInitialized() - Method in class com.weibo.api.motan.config.RefererConfig
 
getInputStream(byte[]) - Static method in class com.weibo.api.motan.protocol.rpc.CompressRpcCodec
获取输入流。兼容gzip
getInt() - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
getInt(int) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
getInterface() - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
getInterface() - Method in class com.weibo.api.motan.config.RefererConfig
 
getInterface() - Method in class com.weibo.api.motan.config.ServiceConfig
 
getInterface() - Method in class com.weibo.api.motan.rpc.AbstractProvider
 
getInterface() - Method in class com.weibo.api.motan.rpc.AbstractReferer
 
getInterface() - Method in interface com.weibo.api.motan.rpc.Caller
 
getInterface() - Method in interface com.weibo.api.motan.rpc.Provider
 
getInterfaceClass() - Method in class com.weibo.api.motan.config.SpiConfig
 
getInterfaceName() - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
getInterfaceName() - Method in interface com.weibo.api.motan.rpc.Request
service interface
getIntParameter(String, int) - Method in class com.weibo.api.motan.rpc.URL
 
getIntValue() - Method in enum com.weibo.api.motan.common.URLParamType
 
getIothreads() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getIsDefault() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getLatestCountTime() - Method in class com.weibo.api.motan.rpc.RpcStats.StatInfo
 
getLazyInit() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getLoadBalance() - Method in interface com.weibo.api.motan.cluster.Cluster
 
getLoadBalance() - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
getLoadbalance() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getLocalAddress() - Method in class com.weibo.api.motan.transport.AbstractClient
 
getLocalAddress() - Method in class com.weibo.api.motan.transport.AbstractServer
 
getLocalAddress() - Method in interface com.weibo.api.motan.transport.Channel
get local socket address.
getLocalAddress() - Method in exception com.weibo.api.motan.transport.TransportException
 
getLocalAddress() - Static method in class com.weibo.api.motan.util.NetUtils
getLocalAddress(Map<String, Integer>) - Static method in class com.weibo.api.motan.util.NetUtils
查找策略:首先看是否已经查到ip --> hostname对应的ip --> 根据连接目标端口得到的本地ip --> 轮询网卡
getLocalHostAddress(List<URL>) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getLocalServiceAddress() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getLogService() - Static method in class com.weibo.api.motan.util.LoggerUtil
 
getLong() - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
getLong(int) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
getLongParameter(String, long) - Method in class com.weibo.api.motan.rpc.URL
 
getLongValue() - Method in enum com.weibo.api.motan.common.URLParamType
 
getMaxClientConnection() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getMaxContentLength() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getMaxServerConnection() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getMaxSubmittedTaskCount() - Method in class com.weibo.api.motan.core.StandardThreadExecutor
 
getMaxWorkerThread() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getMean() - Method in class com.weibo.api.motan.config.AbstractRefererConfig
 
getMergeGroups() - Method in class com.weibo.api.motan.registry.support.command.RpcCommand.ClientCommand
 
getMessage() - Method in exception com.weibo.api.motan.exception.MotanAbstractException
 
getMessage() - Method in class com.weibo.api.motan.exception.MotanErrorMsg
 
getMethodDesc(Method) - Static method in class com.weibo.api.motan.util.ReflectUtil
获取方法的标示 : method_name + "(" + paramDesc + ")"
getMethodDesc(String, String) - Static method in class com.weibo.api.motan.util.ReflectUtil
获取方法的标示 : method_name + "(" + paramDesc + ")"
getMethodName() - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
getMethodName() - Method in interface com.weibo.api.motan.rpc.Request
service method name
getMethodParamDesc(Method) - Static method in class com.weibo.api.motan.util.ReflectUtil
获取method方式的接口参数,以逗号分割,拼接clz列表。 如果没有参数,那么void表示
getMethodParameter(String, String, String) - Method in class com.weibo.api.motan.rpc.URL
 
getMethodParameter(String, String, String, String) - Method in class com.weibo.api.motan.rpc.URL
 
getMethodParameter(String, String, String, boolean) - Method in class com.weibo.api.motan.rpc.URL
 
getMethodParameter(String, String, String, int) - Method in class com.weibo.api.motan.rpc.URL
 
getMethodParameter(String, String, String, long) - Method in class com.weibo.api.motan.rpc.URL
 
getMethodParameter(String, String, String, float) - Method in class com.weibo.api.motan.rpc.URL
 
getMethods() - Method in class com.weibo.api.motan.config.RefererConfig
 
getMethods() - Method in class com.weibo.api.motan.config.ServiceConfig
 
getMethodStat(URL, Request) - Static method in class com.weibo.api.motan.rpc.RpcStats
 
getMinClientConnection() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getMingzSize() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getMinWorkerThread() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getMock() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getMockProviderMessageRouter(URL) - Method in class com.weibo.api.motan.protocol.mock.AbstractMockRpcProtocol
 
getModule() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getModule() - Method in class com.weibo.api.motan.rpc.Application
 
getModule() - Method in class com.weibo.api.motan.rpc.URL
 
getMotanErrorMsg() - Method in exception com.weibo.api.motan.exception.MotanAbstractException
 
getName() - Method in enum com.weibo.api.motan.common.URLParamType
 
getName() - Method in class com.weibo.api.motan.config.MethodConfig
 
getName() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getName() - Method in enum com.weibo.api.motan.config.RegistryConfig.Excise
 
getName() - Method in class com.weibo.api.motan.config.RegistryConfig
 
getName() - Method in class com.weibo.api.motan.switcher.Switcher
 
getName(Class<?>) - Static method in class com.weibo.api.motan.util.ReflectUtil
需要支持一维数组、二维数组等
getNonNegative(int) - Static method in class com.weibo.api.motan.util.MathUtil
通过二进制位操作将originValue转化为非负数: 0和正数返回本身 负数通过二进制首位取反转化为正数或0(Integer.MIN_VALUE将转换为0) return non-negative int value of originValue
getNonNegativeRange24bit(int) - Static method in class com.weibo.api.motan.util.MathUtil
通过二进制位操作将originValue转化为非负数: 范围在[0-16777215] 之间
getOriginMessage() - Method in exception com.weibo.api.motan.exception.MotanAbstractException
 
getP90() - Method in class com.weibo.api.motan.config.AbstractRefererConfig
 
getP99() - Method in class com.weibo.api.motan.config.AbstractRefererConfig
 
getP999() - Method in class com.weibo.api.motan.config.AbstractRefererConfig
 
getParameter(String) - Method in class com.weibo.api.motan.rpc.URL
 
getParameter(String, String) - Method in class com.weibo.api.motan.rpc.URL
 
getParameters() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getParameters() - Method in class com.weibo.api.motan.rpc.URL
 
getParamtersDesc() - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
getParamtersDesc() - Method in interface com.weibo.api.motan.rpc.Request
service method param desc (sign)
getPath() - Method in class com.weibo.api.motan.rpc.URL
 
getPattern() - Method in class com.weibo.api.motan.registry.support.command.RpcCommand.ClientCommand
 
getPoolLifo() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getPort() - Method in class com.weibo.api.motan.config.RegistryConfig
 
getPort() - Method in class com.weibo.api.motan.rpc.URL
 
getPrimitiveClass(String) - Static method in class com.weibo.api.motan.util.ReflectUtil
 
getProcessTime() - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
getProcessTime() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
getProcessTime() - Method in interface com.weibo.api.motan.rpc.Response
业务处理时间
getProtocol() - Method in class com.weibo.api.motan.rpc.URL
 
getProtocolAndPort() - Method in class com.weibo.api.motan.config.ServiceConfig
 
getProtocolKey(URL) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
protocol key: protocol://host:port/group/interface/version
getProtocols() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getProvider(Protocol, T, URL, Class<T>) - Method in class com.weibo.api.motan.config.handler.SimpleConfigHandler
 
getProvider() - Method in class com.weibo.api.motan.rpc.AbstractExporter
 
getProvider() - Method in interface com.weibo.api.motan.rpc.Exporter
 
getProxy() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getProxy() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getProxy(Class<T>, List<Cluster<T>>) - Method in interface com.weibo.api.motan.proxy.ProxyFactory
 
getProxy(Class<T>, List<Cluster<T>>) - Method in class com.weibo.api.motan.proxy.spi.CommonProxyFactory
 
getProxy(Class<T>, List<Cluster<T>>) - Method in class com.weibo.api.motan.proxy.spi.JdkProxyFactory
 
getPublicMethod(Class<?>) - Static method in class com.weibo.api.motan.util.ReflectUtil
获取clz public method
getPublicMethodCount() - Method in class com.weibo.api.motan.transport.ProviderMessageRouter
 
getReceiveTime() - Method in class com.weibo.api.motan.rpc.TraceableContext
 
getRef() - Method in class com.weibo.api.motan.config.RefererConfig
 
getRef() - Method in class com.weibo.api.motan.config.ServiceConfig
 
getReferers() - Method in interface com.weibo.api.motan.cluster.Cluster
 
getReferers() - Method in class com.weibo.api.motan.cluster.loadbalance.AbstractLoadBalance
 
getReferers() - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
getRegister() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getRegister() - Method in class com.weibo.api.motan.config.RegistryConfig
 
getRegisteredServiceUrls() - Method in interface com.weibo.api.motan.registry.RegistryService
 
getRegisteredServiceUrls() - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
getRegistereUrls() - Method in class com.weibo.api.motan.config.ServiceConfig
 
getRegistries() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getRegistry(URL) - Method in class com.weibo.api.motan.cluster.support.ClusterSupport
 
getRegistry(URL) - Method in interface com.weibo.api.motan.registry.RegistryFactory
 
getRegistry(URL) - Method in class com.weibo.api.motan.registry.support.AbstractRegistryFactory
 
getRegistryInstance(String) - Static method in class com.weibo.api.motan.util.InternalMetricsFactory
指定名字获取所属的实例。
getRegistryInstance(String, String...) - Static method in class com.weibo.api.motan.util.InternalMetricsFactory
指定几个名字的关键词,依据 MetricRegistry 的名字生成规则获取所属的实例。
getRegistryInstance(Class<?>, String...) - Static method in class com.weibo.api.motan.util.InternalMetricsFactory
指定类类型和几个名字的关键词,依据 MetricRegistry 的名字生成规则获取所属的实例。
getRegistryRetryPeriod() - Method in class com.weibo.api.motan.config.RegistryConfig
 
getRegistrySessionTimeout() - Method in class com.weibo.api.motan.config.RegistryConfig
 
getRegistryUri(URL) - Method in class com.weibo.api.motan.registry.support.AbstractRegistryFactory
 
getRegProtocol() - Method in class com.weibo.api.motan.config.RegistryConfig
 
getRemark() - Method in class com.weibo.api.motan.registry.support.command.RpcCommand.ClientCommand
 
getRemoteAddress() - Method in class com.weibo.api.motan.transport.AbstractClient
 
getRemoteAddress() - Method in class com.weibo.api.motan.transport.AbstractServer
 
getRemoteAddress() - Method in interface com.weibo.api.motan.transport.Channel
get remote socket address
getRemoteAddress() - Method in exception com.weibo.api.motan.transport.TransportException
 
getRequest() - Method in class com.weibo.api.motan.rpc.RpcContext
 
getRequestId() - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
getRequestId() - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
getRequestId() - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
getRequestId() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
getRequestId() - Method in interface com.weibo.api.motan.rpc.Request
request id
getRequestId() - Method in interface com.weibo.api.motan.rpc.Response
与 Request 的 requestId 相对应
getRequestId() - Method in class com.weibo.api.motan.rpc.RpcContext
clientRequestId > request.id
getRequestId() - Static method in class com.weibo.api.motan.util.RequestIdGenerator
获取 requestId
getRequestIdFromClient() - Static method in class com.weibo.api.motan.util.RequestIdGenerator
 
getRequestObj() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
getRequestTimeout() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getRequestTimeout() - Method in class com.weibo.api.motan.config.MethodConfig
 
getRequestTimeout() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getRequestTimeout() - Method in class com.weibo.api.motan.config.RegistryConfig
 
getResponse() - Method in class com.weibo.api.motan.rpc.RpcContext
 
getRetries() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getRetries() - Method in class com.weibo.api.motan.config.MethodConfig
 
getRetries() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getRetries() - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
getRetries() - Method in interface com.weibo.api.motan.rpc.Request
retries
getRouteRules() - Method in class com.weibo.api.motan.registry.support.command.RpcCommand.ClientCommand
 
getRpcAttachment(String) - Method in class com.weibo.api.motan.rpc.RpcContext
get attachments from rpccontext only.
getRpcAttachments() - Method in class com.weibo.api.motan.rpc.RpcContext
 
getRpcProtocolVersion() - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
getRpcProtocolVersion() - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
getRpcProtocolVersion() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
getRpcProtocolVersion() - Method in interface com.weibo.api.motan.rpc.Request
 
getRpcProtocolVersion() - Method in interface com.weibo.api.motan.rpc.Response
 
getSendTime() - Method in class com.weibo.api.motan.rpc.TraceableContext
 
getSerialization() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getSerializationByNum(int) - Method in class com.weibo.api.motan.codec.AbstractCodec
 
getSerializationNumber() - Method in interface com.weibo.api.motan.codec.Serialization
serializaion的唯一编号,用于传输协议中指定序列化方式。每种序列化的编号必须唯一。
getSerializationNumber() - Method in class com.weibo.api.motan.serialize.FastJsonSerialization
 
getSerializationNumber() - Method in class com.weibo.api.motan.serialize.Hessian2Serialization
 
getSerializationNumber() - Method in class com.weibo.api.motan.serialize.SimpleSerialization
 
getSerialize() - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
getServerPortStr() - Method in class com.weibo.api.motan.rpc.URL
comma separated host:port pairs, e.g.
getServiceInterface() - Method in class com.weibo.api.motan.config.RefererConfig
 
getServiceKey(Request) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
目前根据 group/interface/version 来唯一标示一个服务
getServiceKey(URL) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
目前根据 group/interface/version 来唯一标示一个服务
getServiceStat(URL) - Static method in class com.weibo.api.motan.rpc.RpcStats
 
getServiceUrl() - Method in class com.weibo.api.motan.rpc.AbstractReferer
 
getServiceUrl() - Method in interface com.weibo.api.motan.rpc.Referer
获取referer的原始service url
getShallServerChannels() - Method in class com.weibo.api.motan.transport.support.AbstractEndpointFactory
 
getShareChannel() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getShort() - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
getShort(int) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
getSide() - Method in class com.weibo.api.motan.filter.AccessLogFilter
 
getSlowThreshold() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getSlowThreshold() - Method in class com.weibo.api.motan.config.MethodConfig
 
getSpiClass() - Method in class com.weibo.api.motan.config.SpiConfig
 
getSpiName(Class<?>) - Method in class com.weibo.api.motan.core.extension.ExtensionLoader
获取扩展点的名字
getState() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
getStatisticItem(String, long) - Static method in class com.weibo.api.motan.util.StatsUtil
 
getStatus() - Method in exception com.weibo.api.motan.exception.MotanAbstractException
 
getStatus() - Method in class com.weibo.api.motan.exception.MotanErrorMsg
 
getStatus() - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
getStatus() - Method in enum com.weibo.api.motan.protocol.v2motan.MotanV2Header.MessageStatus
 
getSubmittedTasksCount() - Method in class com.weibo.api.motan.core.StandardThreadExecutor
 
getSubscribe() - Method in class com.weibo.api.motan.config.RegistryConfig
 
getSupportedAnnotationTypes() - Method in class com.weibo.api.motan.transport.async.MotanAsyncProcessor
 
getSupportedSourceVersion() - Method in class com.weibo.api.motan.transport.async.MotanAsyncProcessor
 
getSwitcher(String) - Method in class com.weibo.api.motan.switcher.LocalSwitcherService
 
getSwitcher(String) - Method in interface com.weibo.api.motan.switcher.SwitcherService
获取接口降级开关
getSwitcherService() - Static method in class com.weibo.api.motan.util.MotanSwitcherUtil
 
getSwitcherStatic(String) - Static method in class com.weibo.api.motan.switcher.LocalSwitcherService
 
getThrowException() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getTimeout() - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
getTimeout() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
getTimeout() - Method in interface com.weibo.api.motan.rpc.Response
 
getTotalAccessStatistic() - Static method in class com.weibo.api.motan.util.StatsUtil
 
getTotalAccessStatistic(int) - Static method in class com.weibo.api.motan.util.StatsUtil
 
getTotalCountTime() - Method in class com.weibo.api.motan.rpc.RpcStats.StatInfo
 
getTraceableContext() - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
getTraceableContext() - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
getTraceableContext() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
getTraceableContext() - Method in interface com.weibo.api.motan.rpc.Traceable
 
getTraceInfo(String) - Method in class com.weibo.api.motan.rpc.TraceableContext
 
getTraceInfoMap() - Method in class com.weibo.api.motan.rpc.TraceableContext
 
getTransExceptionStack() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getUri() - Method in class com.weibo.api.motan.rpc.URL
 
getUrl() - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
getUrl() - Method in class com.weibo.api.motan.cluster.support.ClusterSupport
 
getUrl() - Method in interface com.weibo.api.motan.registry.Registry
 
getUrl() - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
getUrl() - Method in class com.weibo.api.motan.registry.support.LocalRegistryService
 
getUrl() - Method in class com.weibo.api.motan.rpc.AbstractNode
 
getUrl() - Method in class com.weibo.api.motan.rpc.AbstractProvider
 
getUrl() - Method in interface com.weibo.api.motan.rpc.Node
 
getUrl() - Method in interface com.weibo.api.motan.transport.Channel
 
getUsegz() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getValue() - Method in enum com.weibo.api.motan.common.URLParamType
 
getValue() - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
getValue() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
getValue() - Method in interface com.weibo.api.motan.rpc.Future
if task is success, return the result.
getValue() - Method in interface com.weibo.api.motan.rpc.Response
如果 request 正常处理,那么会返回 Object value,而如果 request 处理有异常,那么 getValue 会抛出异常
getValueFromRequest(Request, String, String) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
 
getVarint() - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
getVersion() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
getVersion() - Method in enum com.weibo.api.motan.protocol.rpc.RpcProtocolVersion
 
getVersion() - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
getVersion() - Method in class com.weibo.api.motan.registry.support.command.RpcCommand.ClientCommand
 
getVersion() - Method in class com.weibo.api.motan.rpc.URL
 
getVersionFromRequest(Request) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
 
getWorkerQueueSize() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
getZigZag32() - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
getZigZag64() - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
group - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
GROUP_CODEC_VERSION_SWITCHER - Static variable in class com.weibo.api.motan.protocol.rpc.CompressRpcCodec
 
GrowableByteBuffer - Class in com.weibo.api.motan.protocol.v2motan
Created by zhanglei28 on 2017/6/27.
GrowableByteBuffer(int) - Constructor for class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
GrowableByteBuffer(ByteBuffer) - Constructor for class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
gzip(byte[]) - Static method in class com.weibo.api.motan.util.ByteUtil
 

H

handle(Channel, Object) - Method in interface com.weibo.api.motan.transport.MessageHandler
 
handle(Channel, Object) - Method in class com.weibo.api.motan.transport.ProviderMessageRouter
 
hashCode() - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
hashCode() - Method in class com.weibo.api.motan.rpc.URL
 
hasMethods() - Method in class com.weibo.api.motan.config.RefererConfig
 
hasMethods() - Method in class com.weibo.api.motan.config.ServiceConfig
 
hasParameter(String) - Method in class com.weibo.api.motan.rpc.URL
 
hasProtocol() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
HaStrategy<T> - Interface in com.weibo.api.motan.cluster
Ha strategy.
haStrategy - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
heartbeat(Request) - Method in class com.weibo.api.motan.transport.AbstractClient
 
heartbeat(Request) - Method in interface com.weibo.api.motan.transport.Client
async send request.
HEARTBEAT_INTERFACE_NAME - Static variable in class com.weibo.api.motan.common.MotanConstants
 
HEARTBEAT_METHOD_NAME - Static variable in class com.weibo.api.motan.common.MotanConstants
 
HEARTBEAT_PERIOD - Static variable in class com.weibo.api.motan.common.MotanConstants
heartbeat constants start
HeartbeatClientEndpointManager - Class in com.weibo.api.motan.transport.support
 
HeartbeatClientEndpointManager() - Constructor for class com.weibo.api.motan.transport.support.HeartbeatClientEndpointManager
 
HeartbeatFactory - Interface in com.weibo.api.motan.transport
heartbeat的消息保持和正常请求的Request一致,这样以便更能反应service端的可用情况
Hessian2Serialization - Class in com.weibo.api.motan.serialize
hession2 序列化,要求序列化的对象实现 java.io.Serializable 接口
Hessian2Serialization() - Constructor for class com.weibo.api.motan.serialize.Hessian2Serialization
 
HHEARTBEAT_PARAM - Static variable in class com.weibo.api.motan.common.MotanConstants
 
histogram - Variable in class com.weibo.api.motan.util.AccessStatisticResult
 
HISTOGRAM_NAME - Static variable in class com.weibo.api.motan.util.StatsUtil
 
host - Variable in class com.weibo.api.motan.config.AbstractServiceConfig
一般不用设置,由服务自己获取,但如果有多个ip,而只想用指定ip,则可以在此处指定

I

id - Variable in class com.weibo.api.motan.config.AbstractConfig
 
incrActiveCount(Request) - Method in class com.weibo.api.motan.rpc.AbstractReferer
 
info(String) - Method in class com.weibo.api.motan.log.DefaultLogService
 
info(String, Object...) - Method in class com.weibo.api.motan.log.DefaultLogService
 
info(String, Throwable) - Method in class com.weibo.api.motan.log.DefaultLogService
 
info(String) - Method in interface com.weibo.api.motan.log.LogService
 
info(String, Object...) - Method in interface com.weibo.api.motan.log.LogService
 
info(String, Throwable) - Method in interface com.weibo.api.motan.log.LogService
 
info(String) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
info(String, Object...) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
info(String, Throwable) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
init() - Method in interface com.weibo.api.motan.cluster.Cluster
 
init() - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
init() - Method in class com.weibo.api.motan.cluster.support.ClusterSupport
 
init(Caller<?>) - Method in interface com.weibo.api.motan.filter.InitializableFilter
init with caller eg.
init(Caller<?>) - Method in class com.weibo.api.motan.filter.ThreadProtectedFilter
默认策略当接口线程池占用达到3/4或者空闲小于150时,限制单个方法请求不能超过总线程数的1/2 需要自定义方法并发限制可以通过actives参数配置
init - Variable in class com.weibo.api.motan.rpc.AbstractNode
 
init() - Method in class com.weibo.api.motan.rpc.AbstractNode
 
init() - Method in class com.weibo.api.motan.rpc.AbstractProvider
 
init() - Method in interface com.weibo.api.motan.rpc.init.Initializable
 
init() - Method in interface com.weibo.api.motan.rpc.Node
 
init(Request) - Static method in class com.weibo.api.motan.rpc.RpcContext
init new rpcContext with request
init() - Static method in class com.weibo.api.motan.rpc.RpcContext
 
init(ProcessingEnvironment) - Method in class com.weibo.api.motan.transport.async.MotanAsyncProcessor
 
init() - Method in interface com.weibo.api.motan.transport.EndpointManager
 
init() - Method in class com.weibo.api.motan.transport.support.HeartbeatClientEndpointManager
 
initAllSerialization() - Static method in class com.weibo.api.motan.codec.AbstractCodec
 
initConnection(boolean) - Method in class com.weibo.api.motan.transport.AbstractPoolClient
 
initConnections(boolean) - Method in class com.weibo.api.motan.transport.AbstractSharedPoolClient
 
initExtensionLoader(Class<T>) - Static method in class com.weibo.api.motan.core.extension.ExtensionLoader
 
Initializable - Interface in com.weibo.api.motan.rpc.init
 
InitializableFilter - Interface in com.weibo.api.motan.filter
 
InitializationFactory - Class in com.weibo.api.motan.rpc.init
 
InitializationFactory() - Constructor for class com.weibo.api.motan.rpc.init.InitializationFactory
 
initPool() - Method in class com.weibo.api.motan.transport.AbstractPoolClient
 
initPool() - Method in class com.weibo.api.motan.transport.AbstractSharedPoolClient
 
initRef() - Method in class com.weibo.api.motan.config.RefererConfig
 
initRequestRouter(URL) - Method in class com.weibo.api.motan.protocol.rpc.DefaultRpcExporter
 
initSwitcher(String, boolean) - Method in class com.weibo.api.motan.switcher.LocalSwitcherService
 
initSwitcher(String, boolean) - Method in interface com.weibo.api.motan.switcher.SwitcherService
初始化开关。
initSwitcher(String, boolean) - Static method in class com.weibo.api.motan.util.MotanSwitcherUtil
 
InjvmProtocol - Class in com.weibo.api.motan.protocol.injvm
JVM 节点内部的调用
InjvmProtocol() - Constructor for class com.weibo.api.motan.protocol.injvm.InjvmProtocol
 
innerCreateClient(URL) - Method in class com.weibo.api.motan.transport.support.AbstractEndpointFactory
 
innerCreateServer(URL, MessageHandler) - Method in class com.weibo.api.motan.transport.support.AbstractEndpointFactory
 
INT16 - Static variable in class com.weibo.api.motan.serialize.SimpleSerialization.SimpleType
 
int2bytes(int, byte[], int) - Static method in class com.weibo.api.motan.util.ByteUtil
把int类型的value转为4个byte字节,放到byte数组的off开始的位置,高位在前
INT32 - Static variable in class com.weibo.api.motan.serialize.SimpleSerialization.SimpleType
 
INT64 - Static variable in class com.weibo.api.motan.serialize.SimpleSerialization.SimpleType
 
interfaceName - Variable in class com.weibo.api.motan.proxy.AbstractRefererHandler
 
InternalMetricsFactory - Class in com.weibo.api.motan.util
生成 MetricRegistry 的工厂类。
InternalMetricsFactory() - Constructor for class com.weibo.api.motan.util.InternalMetricsFactory
 
intervalCounts - Variable in class com.weibo.api.motan.util.AccessStatisticResult
 
invalidateObject(Channel) - Method in class com.weibo.api.motan.transport.AbstractPoolClient
 
invoke(Object, Method, Object[]) - Method in class com.weibo.api.motan.proxy.RefererInvocationHandler
 
invoke(Request) - Method in class com.weibo.api.motan.rpc.AbstractProvider
 
invoke(Request) - Method in class com.weibo.api.motan.rpc.DefaultProvider
 
ipPort2RequestRouter - Variable in class com.weibo.api.motan.protocol.rpc.DefaultRpcExporter
 
ipPort2ServerShareChannel - Variable in class com.weibo.api.motan.transport.support.AbstractEndpointFactory
维持share channel 的service列表
ipToLong(String) - Static method in class com.weibo.api.motan.cluster.loadbalance.LocalFirstLoadBalance
 
isAliveState() - Method in enum com.weibo.api.motan.common.ChannelState
 
isAllowRequest(int, int, int, Request) - Method in class com.weibo.api.motan.transport.ProviderProtectedMessageRouter
 
isAvailable() - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
isAvailable() - Method in class com.weibo.api.motan.protocol.rpc.DefaultRpcExporter
 
isAvailable() - Method in class com.weibo.api.motan.protocol.rpc.DefaultRpcReferer
 
isAvailable() - Method in class com.weibo.api.motan.rpc.AbstractNode
 
isAvailable() - Method in class com.weibo.api.motan.rpc.AbstractProvider
 
isAvailable() - Method in interface com.weibo.api.motan.rpc.Node
 
isAvailable() - Method in interface com.weibo.api.motan.transport.Channel
the node available status
isAvailable() - Method in interface com.weibo.api.motan.transport.Transport
判断transport的available状态
isBizException(Exception) - Static method in class com.weibo.api.motan.util.ExceptionUtil
Deprecated.
isBizException(Throwable) - Static method in class com.weibo.api.motan.util.ExceptionUtil
 
isBound() - Method in interface com.weibo.api.motan.transport.Server
is server bound
isCancelled() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
isCancelled() - Method in interface com.weibo.api.motan.rpc.Future
task cancelled
isCancelledState() - Method in enum com.weibo.api.motan.common.FutureState
 
isClose() - Method in interface com.weibo.api.motan.transport.Transport
transport is close?
isClosed() - Method in interface com.weibo.api.motan.transport.Channel
is closed.
isCloseState() - Method in enum com.weibo.api.motan.common.ChannelState
 
isConnect() - Method in interface com.weibo.api.motan.transport.Transport
判断transport的connect状态
isDebugEnabled() - Method in class com.weibo.api.motan.log.DefaultLogService
 
isDebugEnabled() - Method in interface com.weibo.api.motan.log.LogService
 
isDebugEnabled() - Static method in class com.weibo.api.motan.util.LoggerUtil
 
isDefault() - Method in class com.weibo.api.motan.config.BasicRefererInterfaceConfig
 
isDefault() - Method in class com.weibo.api.motan.config.BasicServiceInterfaceConfig
 
isDefault() - Method in class com.weibo.api.motan.config.ProtocolConfig
 
isDefault() - Method in class com.weibo.api.motan.config.RegistryConfig
 
isDefault(String) - Static method in class com.weibo.api.motan.filter.ServiceMockFilter
 
isDoingState() - Method in enum com.weibo.api.motan.common.FutureState
 
isDone() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
isDone() - Method in interface com.weibo.api.motan.rpc.Future
task is complete : normal or exception
isDoneState() - Method in enum com.weibo.api.motan.common.FutureState
 
isEmpty(Collection) - Static method in class com.weibo.api.motan.util.CollectionUtil
 
isEmpty() - Method in class com.weibo.api.motan.util.ConcurrentHashSet
Returns true if this set contains no elements.
isErrorEnabled() - Method in class com.weibo.api.motan.log.DefaultLogService
 
isErrorEnabled() - Method in interface com.weibo.api.motan.log.LogService
 
isErrorEnabled() - Static method in class com.weibo.api.motan.util.LoggerUtil
 
isGzip() - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
isHeartbeat() - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
isHeartbeatRequest(Object) - Static method in class com.weibo.api.motan.transport.support.DefaultRpcHeartbeatFactory
 
isHeartbeatResponse(Object) - Static method in class com.weibo.api.motan.transport.support.DefaultRpcHeartbeatFactory
 
isInfoEnabled() - Method in class com.weibo.api.motan.log.DefaultLogService
 
isInfoEnabled() - Method in interface com.weibo.api.motan.log.LogService
 
isInitState() - Method in enum com.weibo.api.motan.common.ChannelState
 
isInvalidLocalHost(String) - Static method in class com.weibo.api.motan.util.NetUtils
 
isLocalMethod(Method) - Method in class com.weibo.api.motan.proxy.RefererInvocationHandler
tostring,equals,hashCode,finalize等接口未声明的方法不进行远程调用
isMotanException(Exception) - Static method in class com.weibo.api.motan.util.ExceptionUtil
Deprecated.
isMotanException(Throwable) - Static method in class com.weibo.api.motan.util.ExceptionUtil
 
isOn() - Method in class com.weibo.api.motan.switcher.Switcher
isOn: true,服务可用; isOn: false, 服务不可用
isOneway() - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
isOpen(String) - Method in class com.weibo.api.motan.switcher.LocalSwitcherService
 
isOpen(String, boolean) - Method in class com.weibo.api.motan.switcher.LocalSwitcherService
 
isOpen(String) - Method in interface com.weibo.api.motan.switcher.SwitcherService
检查开关是否开启。
isOpen(String, boolean) - Method in interface com.weibo.api.motan.switcher.SwitcherService
检查开关是否开启,如果开关不存在则将开关置默认值,并返回。
isOpen(String) - Static method in class com.weibo.api.motan.util.MotanSwitcherUtil
检查开关是否开启。
isProvider - Variable in class com.weibo.api.motan.filter.ThreadProtectedFilter
 
isProxy() - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
isRequest() - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
isStatsEnabled() - Method in class com.weibo.api.motan.log.DefaultLogService
 
isStatsEnabled() - Method in interface com.weibo.api.motan.log.LogService
 
isStatsEnabled() - Static method in class com.weibo.api.motan.util.LoggerUtil
 
isStringCollection(Collection<?>) - Static method in class com.weibo.api.motan.serialize.SimpleSerialization
 
isStringMap(Map<?, ?>) - Static method in class com.weibo.api.motan.serialize.SimpleSerialization
 
isSuccess() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
isSuccess() - Method in interface com.weibo.api.motan.rpc.Future
isDone() & normal
isTraceEnabled() - Method in class com.weibo.api.motan.log.DefaultLogService
 
isTraceEnabled() - Method in interface com.weibo.api.motan.log.LogService
 
isTraceEnabled() - Static method in class com.weibo.api.motan.util.LoggerUtil
 
isUnAliveState() - Method in enum com.weibo.api.motan.common.ChannelState
 
isUnInitState() - Method in enum com.weibo.api.motan.common.ChannelState
 
isValidAddress(String) - Static method in class com.weibo.api.motan.util.NetUtils
 
isValidAddress(InetAddress) - Static method in class com.weibo.api.motan.util.NetUtils
 
isValidLocalHost(String) - Static method in class com.weibo.api.motan.util.NetUtils
 
isWarnEnabled() - Method in class com.weibo.api.motan.log.DefaultLogService
 
isWarnEnabled() - Method in interface com.weibo.api.motan.log.LogService
 
isWarnEnabled() - Static method in class com.weibo.api.motan.util.LoggerUtil
 
iterator() - Method in class com.weibo.api.motan.util.ConcurrentHashSet
Returns an iterator over the elements in this set.

J

JdkProxyFactory - Class in com.weibo.api.motan.proxy.spi
jdk proxy
JdkProxyFactory() - Constructor for class com.weibo.api.motan.proxy.spi.JdkProxyFactory
 

L

lazyInit - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
limit() - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
limit(int) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
listeners - Variable in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
LoadBalance<T> - Interface in com.weibo.api.motan.cluster
Loadbalance for select referer
loadbalance - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
loadRegistryUrls() - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
localAddress - Variable in class com.weibo.api.motan.transport.AbstractClient
 
localAddress - Variable in class com.weibo.api.motan.transport.AbstractServer
 
LocalFirstLoadBalance<T> - Class in com.weibo.api.motan.cluster.loadbalance
"本地服务优先" 负载均衡
LocalFirstLoadBalance() - Constructor for class com.weibo.api.motan.cluster.loadbalance.LocalFirstLoadBalance
 
LOCALHOST - Static variable in class com.weibo.api.motan.util.NetUtils
 
LocalRegistryFactory - Class in com.weibo.api.motan.registry.support
类说明
LocalRegistryFactory() - Constructor for class com.weibo.api.motan.registry.support.LocalRegistryFactory
 
LocalRegistryService - Class in com.weibo.api.motan.registry.support
 
LocalRegistryService() - Constructor for class com.weibo.api.motan.registry.support.LocalRegistryService
 
LocalRegistryService(URL) - Constructor for class com.weibo.api.motan.registry.support.LocalRegistryService
 
localServiceAddress - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
LocalSwitcherService - Class in com.weibo.api.motan.switcher
 
LocalSwitcherService() - Constructor for class com.weibo.api.motan.switcher.LocalSwitcherService
 
lock - Variable in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
logAccessStatistic(boolean) - Static method in class com.weibo.api.motan.util.StatsUtil
 
logEvent(Request, String) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
 
logEvent(Request, String, long) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
 
logEvent(Response, String) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
 
logEvent(Response, String, long) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
 
LoggerUtil - Class in com.weibo.api.motan.util
 
LoggerUtil() - Constructor for class com.weibo.api.motan.util.LoggerUtil
 
logMemoryStatistic() - Static method in class com.weibo.api.motan.util.StatsUtil
 
LogService - Interface in com.weibo.api.motan.log
 
logStatisticCallback() - Static method in class com.weibo.api.motan.util.StatsUtil
 
long2bytes(long, byte[], int) - Static method in class com.weibo.api.motan.util.ByteUtil
把long类型的value转为8个byte字节,放到byte数组的off开始的位置,高位在前
lookupMethod(String, String) - Method in class com.weibo.api.motan.rpc.AbstractProvider
 
lookupMethod(String, String) - Method in interface com.weibo.api.motan.rpc.Provider
 

M

M2_AUTH - Static variable in class com.weibo.api.motan.common.MotanConstants
 
M2_ERROR - Static variable in class com.weibo.api.motan.common.MotanConstants
 
M2_GROUP - Static variable in class com.weibo.api.motan.common.MotanConstants
 
M2_INFO_SIGN - Static variable in class com.weibo.api.motan.common.MotanConstants
 
M2_METHOD - Static variable in class com.weibo.api.motan.common.MotanConstants
 
M2_METHOD_DESC - Static variable in class com.weibo.api.motan.common.MotanConstants
 
M2_MODULE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
M2_PATH - Static variable in class com.weibo.api.motan.common.MotanConstants
 
M2_PROCESS_TIME - Static variable in class com.weibo.api.motan.common.MotanConstants
 
M2_PROXY_PROTOCOL - Static variable in class com.weibo.api.motan.common.MotanConstants
 
M2_SOURCE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
M2_VERSION - Static variable in class com.weibo.api.motan.common.MotanConstants
 
MAGIC - Static variable in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
makeObject() - Method in interface com.weibo.api.motan.transport.SharedObjectFactory
创建对象
MAP - Static variable in class com.weibo.api.motan.serialize.SimpleSerialization.SimpleType
 
match(String, String) - Static method in class com.weibo.api.motan.registry.support.command.RpcCommandUtil
 
MathUtil - Class in com.weibo.api.motan.util
 
MathUtil() - Constructor for class com.weibo.api.motan.util.MathUtil
 
MAX_COUNT_PER_MILLIS - Static variable in class com.weibo.api.motan.util.RequestIdGenerator
 
MAX_REFERER_COUNT - Static variable in class com.weibo.api.motan.cluster.loadbalance.AbstractLoadBalance
 
MAX_REFERER_COUNT - Static variable in class com.weibo.api.motan.cluster.loadbalance.LocalFirstLoadBalance
 
maxClientConnection - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
maxContentLength - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
maxCount - Variable in class com.weibo.api.motan.util.AccessStatisticResult
 
maxServerConnection - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
maxThread - Variable in class com.weibo.api.motan.filter.ThreadProtectedFilter
 
maxWorkerThread - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
md5LowerCase(String) - Static method in class com.weibo.api.motan.util.MotanDigestUtil
 
mean - Variable in class com.weibo.api.motan.config.AbstractRefererConfig
 
memoryStatistic() - Static method in class com.weibo.api.motan.util.StatsUtil
 
MessageHandler - Interface in com.weibo.api.motan.transport
 
METHOD_CONFIG_PREFIX - Static variable in class com.weibo.api.motan.common.MotanConstants
 
MethodConfig - Class in com.weibo.api.motan.config
 
MethodConfig() - Constructor for class com.weibo.api.motan.config.MethodConfig
 
methodCounter - Variable in class com.weibo.api.motan.transport.ProviderMessageRouter
 
methodLimit - Variable in class com.weibo.api.motan.filter.ThreadProtectedFilter
 
methodMap - Variable in class com.weibo.api.motan.filter.ThreadProtectedFilter
 
methodMap - Variable in class com.weibo.api.motan.rpc.AbstractProvider
 
methods - Variable in class com.weibo.api.motan.config.RefererConfig
 
methods - Variable in class com.weibo.api.motan.config.ServiceConfig
 
MILLS - Static variable in class com.weibo.api.motan.common.MotanConstants
 
minClientConnection - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
minCount - Variable in class com.weibo.api.motan.util.AccessStatisticResult
 
mingzSize - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
MINUTE_MILLS - Static variable in class com.weibo.api.motan.common.MotanConstants
 
minWorkerThread - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
mock - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
MockInfo(URL) - Constructor for class com.weibo.api.motan.filter.ServiceMockFilter.MockInfo
 
module - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
MOTAN_COMMAND_SWITCHER - Static variable in class com.weibo.api.motan.registry.support.command.CommandServiceManager
 
MOTAN_TRACE_INFO_SWITCHER - Static variable in class com.weibo.api.motan.common.MotanConstants
 
MotanAbstractException - Exception in com.weibo.api.motan.exception
 
MotanAbstractException() - Constructor for exception com.weibo.api.motan.exception.MotanAbstractException
 
MotanAbstractException(MotanErrorMsg) - Constructor for exception com.weibo.api.motan.exception.MotanAbstractException
 
MotanAbstractException(String) - Constructor for exception com.weibo.api.motan.exception.MotanAbstractException
 
MotanAbstractException(String, MotanErrorMsg) - Constructor for exception com.weibo.api.motan.exception.MotanAbstractException
 
MotanAbstractException(String, Throwable) - Constructor for exception com.weibo.api.motan.exception.MotanAbstractException
 
MotanAbstractException(String, Throwable, MotanErrorMsg) - Constructor for exception com.weibo.api.motan.exception.MotanAbstractException
 
MotanAbstractException(Throwable) - Constructor for exception com.weibo.api.motan.exception.MotanAbstractException
 
MotanAbstractException(Throwable, MotanErrorMsg) - Constructor for exception com.weibo.api.motan.exception.MotanAbstractException
 
MotanAsync - Annotation Type in com.weibo.api.motan.transport.async
 
MotanAsyncProcessor - Class in com.weibo.api.motan.transport.async
 
MotanAsyncProcessor() - Constructor for class com.weibo.api.motan.transport.async.MotanAsyncProcessor
 
MotanBizException - Exception in com.weibo.api.motan.exception
wrapper biz exception.
MotanBizException() - Constructor for exception com.weibo.api.motan.exception.MotanBizException
 
MotanBizException(MotanErrorMsg) - Constructor for exception com.weibo.api.motan.exception.MotanBizException
 
MotanBizException(String) - Constructor for exception com.weibo.api.motan.exception.MotanBizException
 
MotanBizException(String, MotanErrorMsg) - Constructor for exception com.weibo.api.motan.exception.MotanBizException
 
MotanBizException(String, Throwable) - Constructor for exception com.weibo.api.motan.exception.MotanBizException
 
MotanBizException(String, Throwable, MotanErrorMsg) - Constructor for exception com.weibo.api.motan.exception.MotanBizException
 
MotanBizException(Throwable) - Constructor for exception com.weibo.api.motan.exception.MotanBizException
 
MotanBizException(Throwable, MotanErrorMsg) - Constructor for exception com.weibo.api.motan.exception.MotanBizException
 
MotanConstants - Class in com.weibo.api.motan.common
类说明
MotanDigestUtil - Class in com.weibo.api.motan.util
摘要算法辅助类
MotanDigestUtil() - Constructor for class com.weibo.api.motan.util.MotanDigestUtil
 
motanErrorMsg - Variable in exception com.weibo.api.motan.exception.MotanAbstractException
 
MotanErrorMsg - Class in com.weibo.api.motan.exception
 
MotanErrorMsg(int, int, String) - Constructor for class com.weibo.api.motan.exception.MotanErrorMsg
 
MotanErrorMsgConstant - Class in com.weibo.api.motan.exception
 
MotanFrameworkException - Exception in com.weibo.api.motan.exception
wrapper client exception.
MotanFrameworkException() - Constructor for exception com.weibo.api.motan.exception.MotanFrameworkException
 
MotanFrameworkException(MotanErrorMsg) - Constructor for exception com.weibo.api.motan.exception.MotanFrameworkException
 
MotanFrameworkException(String) - Constructor for exception com.weibo.api.motan.exception.MotanFrameworkException
 
MotanFrameworkException(String, MotanErrorMsg) - Constructor for exception com.weibo.api.motan.exception.MotanFrameworkException
 
MotanFrameworkException(String, Throwable) - Constructor for exception com.weibo.api.motan.exception.MotanFrameworkException
 
MotanFrameworkException(String, Throwable, MotanErrorMsg) - Constructor for exception com.weibo.api.motan.exception.MotanFrameworkException
 
MotanFrameworkException(Throwable) - Constructor for exception com.weibo.api.motan.exception.MotanFrameworkException
 
MotanFrameworkException(Throwable, MotanErrorMsg) - Constructor for exception com.weibo.api.motan.exception.MotanFrameworkException
 
MotanFrameworkUtil - Class in com.weibo.api.motan.util
提供框架内部一些约定处理
MotanFrameworkUtil() - Constructor for class com.weibo.api.motan.util.MotanFrameworkUtil
 
MotanServiceException - Exception in com.weibo.api.motan.exception
wrapper service exception.
MotanServiceException() - Constructor for exception com.weibo.api.motan.exception.MotanServiceException
 
MotanServiceException(MotanErrorMsg) - Constructor for exception com.weibo.api.motan.exception.MotanServiceException
 
MotanServiceException(String) - Constructor for exception com.weibo.api.motan.exception.MotanServiceException
 
MotanServiceException(String, MotanErrorMsg) - Constructor for exception com.weibo.api.motan.exception.MotanServiceException
 
MotanServiceException(String, Throwable) - Constructor for exception com.weibo.api.motan.exception.MotanServiceException
 
MotanServiceException(String, Throwable, MotanErrorMsg) - Constructor for exception com.weibo.api.motan.exception.MotanServiceException
 
MotanServiceException(Throwable) - Constructor for exception com.weibo.api.motan.exception.MotanServiceException
 
MotanServiceException(Throwable, MotanErrorMsg) - Constructor for exception com.weibo.api.motan.exception.MotanServiceException
 
MotanSwitcherUtil - Class in com.weibo.api.motan.util
静态开关工具类。一般全局开关使用此类。 可以替换switcherService为不同实现
MotanSwitcherUtil() - Constructor for class com.weibo.api.motan.util.MotanSwitcherUtil
 
MotanV2Codec - Class in com.weibo.api.motan.protocol.v2motan
 
MotanV2Codec() - Constructor for class com.weibo.api.motan.protocol.v2motan.MotanV2Codec
 
MotanV2Header - Class in com.weibo.api.motan.protocol.v2motan
Created by zhanglei28 on 2017/5/3.
MotanV2Header() - Constructor for class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
MotanV2Header.MessageStatus - Enum in com.weibo.api.motan.protocol.v2motan
 
MotanV2Protocol - Class in com.weibo.api.motan.protocol.v2motan
Created by zhanglei28 on 2017/4/27.
MotanV2Protocol() - Constructor for class com.weibo.api.motan.protocol.v2motan.MotanV2Protocol
 

N

NETTY_CLIENT_MAX_REQUEST - Static variable in class com.weibo.api.motan.common.MotanConstants
 
NETTY_EXECUTOR_MAX_SIZE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
NETTY_HEADER - Static variable in class com.weibo.api.motan.common.MotanConstants
 
NETTY_MAGIC_TYPE - Static variable in class com.weibo.api.motan.common.MotanConstants
netty channel constants start
NETTY_NOT_SHARECHANNEL_MAX_WORKDER - Static variable in class com.weibo.api.motan.common.MotanConstants
 
NETTY_NOT_SHARECHANNEL_MIN_WORKDER - Static variable in class com.weibo.api.motan.common.MotanConstants
 
NETTY_REQUEST_TYPE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
NETTY_SHARECHANNEL_MAX_WORKDER - Static variable in class com.weibo.api.motan.common.MotanConstants
 
NETTY_SHARECHANNEL_MIN_WORKDER - Static variable in class com.weibo.api.motan.common.MotanConstants
 
NETTY_THREAD_KEEPALIVE_TIME - Static variable in class com.weibo.api.motan.common.MotanConstants
 
NETTY_TIMEOUT_TIMER_PERIOD - Static variable in class com.weibo.api.motan.common.MotanConstants
 
NetUtils - Class in com.weibo.api.motan.util
网络工具类
NetUtils() - Constructor for class com.weibo.api.motan.util.NetUtils
 
newProvider(T, URL, Class<T>) - Method in interface com.weibo.api.motan.rpc.ProviderFactory
 
newThread(Runnable) - Method in class com.weibo.api.motan.core.DefaultThreadFactory
 
Node - Interface in com.weibo.api.motan.rpc
node manage interface
NODE_TYPE_REFERER - Static variable in class com.weibo.api.motan.common.MotanConstants
 
NODE_TYPE_SERVICE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
notify(URL, List<URL>) - Method in class com.weibo.api.motan.cluster.support.ClusterSupport
1 notify的执行需要串行 2 notify通知都是全量通知,在设入新的referer后,cluster需要把不再使用的referer进行回收,避免资源泄漏; 3 如果该registry对应的referer数量为0,而没有其他可用的referers,那就忽略该次通知; 4 此处对protoco进行decorator处理,当前为增加filters
notify(URL, List<URL>) - Method in interface com.weibo.api.motan.registry.NotifyListener
 
notify(URL, NotifyListener, List<URL>) - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
notifyCommand(URL, String) - Method in interface com.weibo.api.motan.registry.support.command.CommandListener
 
notifyCommand(URL, String) - Method in class com.weibo.api.motan.registry.support.command.CommandServiceManager
 
NotifyListener - Interface in com.weibo.api.motan.registry
Notify when service changed.
notifyService(URL, URL, List<URL>) - Method in class com.weibo.api.motan.registry.support.command.CommandServiceManager
 
notifyService(URL, URL, List<URL>) - Method in interface com.weibo.api.motan.registry.support.command.ServiceListener
 
NULL - Static variable in class com.weibo.api.motan.serialize.SimpleSerialization.SimpleType
 

O

offset - Static variable in class com.weibo.api.motan.util.RequestIdGenerator
 
offSwitcher() - Method in class com.weibo.api.motan.switcher.Switcher
turn off switcher
onFailure(Response) - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
onFailure(Response) - Method in interface com.weibo.api.motan.rpc.ResponseFuture
 
onFinish() - Method in interface com.weibo.api.motan.rpc.Callbackable
 
onFinish() - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
onRefresh(List<Referer<T>>) - Method in interface com.weibo.api.motan.cluster.Cluster
 
onRefresh(List<Referer<T>>) - Method in class com.weibo.api.motan.cluster.loadbalance.AbstractLoadBalance
 
onRefresh(List<Referer<T>>) - Method in class com.weibo.api.motan.cluster.loadbalance.ConfigurableWeightLoadBalance
 
onRefresh(List<Referer<T>>) - Method in class com.weibo.api.motan.cluster.loadbalance.ConsistentHashLoadBalance
 
onRefresh(List<Referer<T>>) - Method in interface com.weibo.api.motan.cluster.LoadBalance
 
onRefresh(List<Referer<T>>) - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
onSuccess(Response) - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
onSuccess(Response) - Method in interface com.weibo.api.motan.rpc.ResponseFuture
 
onSwitcher() - Method in class com.weibo.api.motan.switcher.Switcher
turn on switcher
onValueChanged(String, Boolean) - Method in interface com.weibo.api.motan.switcher.SwitcherListener
 
open() - Method in interface com.weibo.api.motan.transport.Channel
open the channel
operationComplete(Future) - Method in interface com.weibo.api.motan.rpc.FutureListener
建议做一些比较简单的低功耗的操作 注意一些反模式: 1) 死循环: operationComplete(Future future) { ......
otherExceptionCount - Variable in class com.weibo.api.motan.util.AccessStatisticResult
 

P

p90 - Variable in class com.weibo.api.motan.config.AbstractRefererConfig
 
p99 - Variable in class com.weibo.api.motan.config.AbstractRefererConfig
 
p999 - Variable in class com.weibo.api.motan.config.AbstractRefererConfig
 
PARAM_CLASS_SPLIT - Static variable in class com.weibo.api.motan.util.ReflectUtil
 
parseExport(String) - Static method in class com.weibo.api.motan.config.ConfigUtil
export fomart: protocol1:port1,protocol2:port2
parseInt(String, int) - Static method in class com.weibo.api.motan.util.MathUtil
针对int类型字符串进行解析,如果存在格式错误,则返回默认值(defaultValue) Parse intStr, return defaultValue when numberFormatException occurs
parseInteger(String) - Static method in class com.weibo.api.motan.util.StringTools
 
parseLong(String, long) - Static method in class com.weibo.api.motan.util.MathUtil
针对long类型字符串进行解析,如果存在格式错误,则返回默认值(defaultValue) Parse longStr, return defaultValue when numberFormatException occurs
parseMockValue(String) - Method in class com.weibo.api.motan.filter.ServiceMockFilter
 
parseMockValue(String, Type[]) - Method in class com.weibo.api.motan.filter.ServiceMockFilter
 
parseQueryParams(String) - Static method in class com.weibo.api.motan.util.UrlUtils
 
parseURLs(String, Map<String, String>) - Static method in class com.weibo.api.motan.util.UrlUtils
 
PATH_SEPARATOR - Static variable in class com.weibo.api.motan.common.MotanConstants
 
pool - Variable in class com.weibo.api.motan.transport.AbstractPoolClient
 
poolConfig - Variable in class com.weibo.api.motan.transport.AbstractPoolClient
 
poolLifo - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
portTotalMap - Static variable in class com.weibo.api.motan.filter.ThreadProtectedFilter
 
position() - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
position(int) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class com.weibo.api.motan.transport.async.MotanAsyncProcessor
 
processRequest(Request) - Method in class com.weibo.api.motan.protocol.mock.AbstractMockRpcProtocol
process request.
processTime - Variable in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
Protocol - Interface in com.weibo.api.motan.rpc
protocol
PROTOCOL_INJVM - Static variable in class com.weibo.api.motan.common.MotanConstants
 
PROTOCOL_MOTAN - Static variable in class com.weibo.api.motan.common.MotanConstants
 
PROTOCOL_SEPARATOR - Static variable in class com.weibo.api.motan.common.MotanConstants
 
PROTOCOL_SWITCHER_PREFIX - Static variable in class com.weibo.api.motan.common.MotanConstants
 
ProtocolConfig - Class in com.weibo.api.motan.config
protocol
ProtocolConfig() - Constructor for class com.weibo.api.motan.config.ProtocolConfig
 
ProtocolFilterDecorator - Class in com.weibo.api.motan.protocol.support
Decorate the protocol, to add more features.
ProtocolFilterDecorator(Protocol) - Constructor for class com.weibo.api.motan.protocol.support.ProtocolFilterDecorator
 
protocols - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
provider - Variable in class com.weibo.api.motan.rpc.AbstractExporter
 
Provider<T> - Interface in com.weibo.api.motan.rpc
Service provider.
ProviderFactory - Interface in com.weibo.api.motan.rpc
Created by zhanglei28 on 2017/10/17.
ProviderMessageRouter - Class in com.weibo.api.motan.transport
service 消息处理
ProviderMessageRouter() - Constructor for class com.weibo.api.motan.transport.ProviderMessageRouter
 
ProviderMessageRouter(Provider<?>) - Constructor for class com.weibo.api.motan.transport.ProviderMessageRouter
 
ProviderProtectedMessageRouter - Class in com.weibo.api.motan.transport
TODO 可配置化策略
ProviderProtectedMessageRouter() - Constructor for class com.weibo.api.motan.transport.ProviderProtectedMessageRouter
 
ProviderProtectedMessageRouter(Provider<?>) - Constructor for class com.weibo.api.motan.transport.ProviderProtectedMessageRouter
 
providers - Variable in class com.weibo.api.motan.transport.ProviderMessageRouter
 
proxy - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
proxy - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
PROXY_COMMON - Static variable in class com.weibo.api.motan.common.MotanConstants
 
PROXY_JAVASSIST - Static variable in class com.weibo.api.motan.common.MotanConstants
 
PROXY_JDK - Static variable in class com.weibo.api.motan.common.MotanConstants
 
ProxyFactory - Interface in com.weibo.api.motan.proxy
 
proxyImpl - Variable in class com.weibo.api.motan.rpc.DefaultProvider
 
put(byte) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
put(int, byte) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
put(byte[]) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
putAttribute(Object, Object) - Method in class com.weibo.api.motan.rpc.RpcContext
 
putDouble(double) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
putDouble(int, double) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
putFloat(float) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
putFloat(int, float) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
putInt(int) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
putInt(int, int) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
putLong(long) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
putLong(int, long) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
putMethodSign(Provider<?>, List<Method>) - Static method in class com.weibo.api.motan.protocol.rpc.CompressRpcCodec
 
putMethodSign(String, CompressRpcCodec.MethodInfo) - Static method in class com.weibo.api.motan.protocol.rpc.CompressRpcCodec
 
putShort(short) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
putShort(int, short) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
putSwitcher(Switcher) - Static method in class com.weibo.api.motan.switcher.LocalSwitcherService
 
putVarint(long) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
putZigzag32(int) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
putZigzag64(long) - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 

Q

QUERY_PARAM_PATTERN - Static variable in class com.weibo.api.motan.common.MotanConstants
 
QUERY_PARAM_SEPARATOR - Static variable in class com.weibo.api.motan.common.MotanConstants
 

R

RandomLoadBalance<T> - Class in com.weibo.api.motan.cluster.loadbalance
random load balance.
RandomLoadBalance() - Constructor for class com.weibo.api.motan.cluster.loadbalance.RandomLoadBalance
 
rebuildObject(T, boolean) - Method in interface com.weibo.api.motan.transport.SharedObjectFactory
重建对象
receiveTime - Variable in class com.weibo.api.motan.rpc.TraceableContext
 
refer(Class<T>, List<Cluster<T>>, String) - Method in interface com.weibo.api.motan.config.handler.ConfigHandler
 
refer(Class<T>, List<Cluster<T>>, String) - Method in class com.weibo.api.motan.config.handler.SimpleConfigHandler
 
refer(Class<T>, URL) - Method in class com.weibo.api.motan.protocol.AbstractProtocol
 
refer(Class<T>, URL, URL) - Method in class com.weibo.api.motan.protocol.AbstractProtocol
 
refer(Class<T>, URL, URL) - Method in class com.weibo.api.motan.protocol.support.ProtocolFilterDecorator
 
refer(Class<T>, URL, URL) - Method in interface com.weibo.api.motan.rpc.Protocol
引用服务
Referer<T> - Interface in com.weibo.api.motan.rpc
Refer to a service.
RefererCommonHandler<T> - Class in com.weibo.api.motan.proxy
 
RefererCommonHandler(String, List<Cluster<T>>) - Constructor for class com.weibo.api.motan.proxy.RefererCommonHandler
 
RefererConfig<T> - Class in com.weibo.api.motan.config
Referer config.
RefererConfig() - Constructor for class com.weibo.api.motan.config.RefererConfig
 
RefererInvocationHandler<T> - Class in com.weibo.api.motan.proxy
 
RefererInvocationHandler(Class<T>, List<Cluster<T>>) - Constructor for class com.weibo.api.motan.proxy.RefererInvocationHandler
 
referersHolder - Variable in class com.weibo.api.motan.cluster.ha.FailoverHaStrategy
 
RefererSupports - Class in com.weibo.api.motan.rpc
 
RefererSupports() - Constructor for class com.weibo.api.motan.rpc.RefererSupports
 
ReflectUtil - Class in com.weibo.api.motan.util
反射相关的辅助类
ReflectUtil() - Constructor for class com.weibo.api.motan.util.ReflectUtil
 
register - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
register(URL) - Method in interface com.weibo.api.motan.registry.RegistryService
register service to registry
register(URL) - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
register(URL) - Method in class com.weibo.api.motan.registry.support.FailbackRegistry
 
registerListener(String, SwitcherListener) - Method in class com.weibo.api.motan.switcher.LocalSwitcherService
 
registerListener(String, SwitcherListener) - Method in interface com.weibo.api.motan.switcher.SwitcherService
register a listener for switcher value change, register a listener twice will only fire once
registerShutdownHook(Closable) - Static method in class com.weibo.api.motan.closable.ShutDownHook
 
registerShutdownHook(Closable, int) - Static method in class com.weibo.api.motan.closable.ShutDownHook
 
registerSwitcherListener(String, SwitcherListener) - Static method in class com.weibo.api.motan.util.MotanSwitcherUtil
 
registries - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
Registry - Interface in com.weibo.api.motan.registry
Used to register and discover.
REGISTRY_HEARTBEAT_SWITCHER - Static variable in class com.weibo.api.motan.common.MotanConstants
 
REGISTRY_PROTOCOL_DIRECT - Static variable in class com.weibo.api.motan.common.MotanConstants
 
REGISTRY_PROTOCOL_LOCAL - Static variable in class com.weibo.api.motan.common.MotanConstants
 
REGISTRY_PROTOCOL_ZOOKEEPER - Static variable in class com.weibo.api.motan.common.MotanConstants
 
REGISTRY_SEPARATOR - Static variable in class com.weibo.api.motan.common.MotanConstants
 
REGISTRY_SPLIT_PATTERN - Static variable in class com.weibo.api.motan.common.MotanConstants
 
registryClassName - Variable in class com.weibo.api.motan.registry.support.AbstractRegistry
 
RegistryConfig - Class in com.weibo.api.motan.config
registry config
RegistryConfig() - Constructor for class com.weibo.api.motan.config.RegistryConfig
 
RegistryConfig.Excise - Enum in com.weibo.api.motan.config
vintage 的 excise 方式,static、dynamic、ratio; static表示使用静态列表,不剔除unreachable的node;dynamic完全剔除;ratio按比例提出。 配置方式,ratio直接使用数字,其他使用数字0-100.
RegistryFactory - Interface in com.weibo.api.motan.registry
To create registry
RegistryService - Interface in com.weibo.api.motan.registry
Register service to Restery center.
registryStatisticCallback(StatisticCallback) - Static method in class com.weibo.api.motan.util.StatsUtil
 
rejectCounter - Variable in class com.weibo.api.motan.transport.ProviderProtectedMessageRouter
 
remaining() - Method in class com.weibo.api.motan.protocol.v2motan.GrowableByteBuffer
 
REMOTE_MOCK_STACK - Static variable in class com.weibo.api.motan.util.ExceptionUtil
 
remoteAddress - Variable in class com.weibo.api.motan.transport.AbstractClient
 
remoteAddress - Variable in class com.weibo.api.motan.transport.AbstractServer
 
remove(Object) - Method in class com.weibo.api.motan.util.ConcurrentHashSet
Removes the specified element from this set if it is present.
removeAsyncSuffix(String) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
 
removeAttribute(Object) - Method in class com.weibo.api.motan.rpc.RpcContext
 
removeEndpoint(Endpoint) - Method in interface com.weibo.api.motan.transport.EndpointManager
 
removeEndpoint(Endpoint) - Method in class com.weibo.api.motan.transport.support.HeartbeatClientEndpointManager
 
removeNotifyListener(NotifyListener) - Method in class com.weibo.api.motan.registry.support.command.CommandServiceManager
 
removeParameter(String) - Method in class com.weibo.api.motan.rpc.URL
 
removeProvider(Provider<?>) - Method in class com.weibo.api.motan.transport.ProviderMessageRouter
 
removeRpcAttachment(String) - Method in class com.weibo.api.motan.rpc.RpcContext
 
request - Variable in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
Request - Interface in com.weibo.api.motan.rpc
Request
request(Request) - Method in interface com.weibo.api.motan.transport.Channel
send request.
REQUEST_REMOTE_ADDR - Static variable in class com.weibo.api.motan.common.MotanConstants
 
requestCounters - Variable in class com.weibo.api.motan.transport.ProviderProtectedMessageRouter
 
RequestIdGenerator - Class in com.weibo.api.motan.util
通过requestId能够知道大致请求的时间
RequestIdGenerator() - Constructor for class com.weibo.api.motan.util.RequestIdGenerator
 
requestTimeout - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
requestTimeout - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
reset() - Method in class com.weibo.api.motan.rpc.RpcStats.CountTime
 
resetLatestStat() - Method in class com.weibo.api.motan.rpc.RpcStats.StatInfo
 
Response - Interface in com.weibo.api.motan.rpc
Response
ResponseFuture - Interface in com.weibo.api.motan.rpc
 
result - Variable in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
retries - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
retries - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
returnObject(Channel) - Method in class com.weibo.api.motan.transport.AbstractPoolClient
 
returnType - Variable in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
RoundRobinLoadBalance<T> - Class in com.weibo.api.motan.cluster.loadbalance
Round robin loadbalance.
RoundRobinLoadBalance() - Constructor for class com.weibo.api.motan.cluster.loadbalance.RoundRobinLoadBalance
 
RpcCommand - Class in com.weibo.api.motan.registry.support.command
 
RpcCommand() - Constructor for class com.weibo.api.motan.registry.support.command.RpcCommand
 
RpcCommand.ClientCommand - Class in com.weibo.api.motan.registry.support.command
 
RpcCommand.ServerCommand - Class in com.weibo.api.motan.registry.support.command
 
RpcCommandUtil - Class in com.weibo.api.motan.registry.support.command
 
RpcCommandUtil() - Constructor for class com.weibo.api.motan.registry.support.command.RpcCommandUtil
 
RpcContext - Class in com.weibo.api.motan.rpc
rpc session context
RpcContext() - Constructor for class com.weibo.api.motan.rpc.RpcContext
 
RpcProtocolVersion - Enum in com.weibo.api.motan.protocol.rpc
 
RpcStats - Class in com.weibo.api.motan.rpc
rpc call statistic.
RpcStats() - Constructor for class com.weibo.api.motan.rpc.RpcStats
 
RpcStats.CountTime - Class in com.weibo.api.motan.rpc
 
RpcStats.StatInfo - Class in com.weibo.api.motan.rpc
 
run() - Method in class com.weibo.api.motan.closable.ShutDownHook
 
runHook(boolean) - Static method in class com.weibo.api.motan.closable.ShutDownHook
 

S

safeReleaseResource(Server, URL) - Method in interface com.weibo.api.motan.transport.EndpointFactory
safe release server
safeReleaseResource(Client, URL) - Method in interface com.weibo.api.motan.transport.EndpointFactory
safe release client
safeReleaseResource(Server, URL) - Method in class com.weibo.api.motan.transport.support.AbstractEndpointFactory
 
safeReleaseResource(Client, URL) - Method in class com.weibo.api.motan.transport.support.AbstractEndpointFactory
 
scheduledFuture - Static variable in class com.weibo.api.motan.util.StatsUtil
 
Scope - Enum in com.weibo.api.motan.core.extension
 
SCOPE_LOCAL - Static variable in class com.weibo.api.motan.common.MotanConstants
 
SCOPE_NONE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
SCOPE_REMOTE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
SECOND_MILLS - Static variable in class com.weibo.api.motan.common.MotanConstants
 
select(Request) - Method in class com.weibo.api.motan.cluster.loadbalance.AbstractLoadBalance
 
select(Request) - Method in interface com.weibo.api.motan.cluster.LoadBalance
 
selectReferers(Request, LoadBalance<T>) - Method in class com.weibo.api.motan.cluster.ha.FailoverHaStrategy
 
selectToHolder(Request, List<Referer<T>>) - Method in class com.weibo.api.motan.cluster.loadbalance.AbstractLoadBalance
 
selectToHolder(Request, List<Referer<T>>) - Method in interface com.weibo.api.motan.cluster.LoadBalance
 
SEMICOLON_SEPARATOR - Static variable in class com.weibo.api.motan.common.MotanConstants
 
SEMICOLON_SPLIT_PATTERN - Static variable in class com.weibo.api.motan.common.MotanConstants
 
sendTime - Variable in class com.weibo.api.motan.rpc.TraceableContext
 
SEPARATE - Static variable in class com.weibo.api.motan.util.StatsUtil
 
SEPERATOR_ACCESS_LOG - Static variable in class com.weibo.api.motan.common.MotanConstants
 
Serialization - Interface in com.weibo.api.motan.codec
 
serializations - Static variable in class com.weibo.api.motan.codec.AbstractCodec
 
serialize(ObjectOutput, Object, Serialization) - Method in class com.weibo.api.motan.codec.AbstractCodec
 
serialize(Object) - Method in interface com.weibo.api.motan.codec.Serialization
 
serialize(Object) - Method in class com.weibo.api.motan.serialize.FastJsonSerialization
 
serialize(Object) - Method in class com.weibo.api.motan.serialize.Hessian2Serialization
 
serialize(Object) - Method in class com.weibo.api.motan.serialize.SimpleSerialization
 
serializeMulti(Object[]) - Method in interface com.weibo.api.motan.codec.Serialization
 
serializeMulti(Object[]) - Method in class com.weibo.api.motan.serialize.FastJsonSerialization
 
serializeMulti(Object[]) - Method in class com.weibo.api.motan.serialize.Hessian2Serialization
 
serializeMulti(Object[]) - Method in class com.weibo.api.motan.serialize.SimpleSerialization
 
server - Variable in class com.weibo.api.motan.protocol.rpc.DefaultRpcExporter
 
Server - Interface in com.weibo.api.motan.transport
 
server2UrlsShareChannel - Variable in class com.weibo.api.motan.transport.support.AbstractEndpointFactory
 
ServerCommand() - Constructor for class com.weibo.api.motan.registry.support.command.RpcCommand.ServerCommand
 
serverUrl - Variable in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
SERVICE_DEFAULT_ERROR - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
service error start
SERVICE_DEFAULT_ERROR_CODE - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
SERVICE_REJECT - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
SERVICE_REJECT_ERROR_CODE - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
SERVICE_REQUEST_LENGTH_OUT_OF_LIMIT - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
SERVICE_REQUEST_LENGTH_OUT_OF_LIMIT_ERROR_CODE - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
SERVICE_TASK_CANCEL - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
SERVICE_TASK_CANCEL_ERROR_CODE - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
SERVICE_TIMEOUT - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
SERVICE_TIMEOUT_ERROR_CODE - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
SERVICE_UNFOUND - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
SERVICE_UNFOUND_ERROR_CODE - Static variable in class com.weibo.api.motan.exception.MotanErrorMsgConstant
 
ServiceConfig<T> - Class in com.weibo.api.motan.config
 
ServiceConfig() - Constructor for class com.weibo.api.motan.config.ServiceConfig
 
serviceExists(URL) - Method in class com.weibo.api.motan.config.ServiceConfig
 
ServiceListener - Interface in com.weibo.api.motan.registry.support.command
 
ServiceMockFilter - Class in com.weibo.api.motan.filter
mock serivce。测试场景使用
ServiceMockFilter() - Constructor for class com.weibo.api.motan.filter.ServiceMockFilter
 
ServiceMockFilter.MockInfo - Class in com.weibo.api.motan.filter
 
serviceUrl - Variable in class com.weibo.api.motan.rpc.AbstractReferer
 
setAcceptConnections(Integer) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setAccessLog(String) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setActives(Integer) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setActives(Integer) - Method in class com.weibo.api.motan.config.MethodConfig
 
setAddress(String) - Method in class com.weibo.api.motan.config.RegistryConfig
 
setApplication(String) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setApplication(String) - Method in class com.weibo.api.motan.rpc.Application
 
setArguments(Object[]) - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
setArgumentTypes(String) - Method in class com.weibo.api.motan.config.MethodConfig
 
setAsync(Boolean) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setAsync(Boolean) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setAsyncInitConnection(Boolean) - Method in class com.weibo.api.motan.config.AbstractRefererConfig
 
setAttachment(String, String) - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
setAttachment(String, String) - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
setAttachment(String, String) - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
setAttachment(String, String) - Method in interface com.weibo.api.motan.rpc.Request
set framework param
setAttachment(String, String) - Method in interface com.weibo.api.motan.rpc.Response
 
setAttachments(Map<String, String>) - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
setAttachments(Map<String, String>) - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
setAvailable(AtomicBoolean) - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
setAvailable(boolean) - Method in class com.weibo.api.motan.rpc.AbstractNode
 
setBackupRequestDelayRatio(String) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setBackupRequestDelayTime(Integer) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setBackupRequestMaxRetryRatio(String) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setBackupRequestSwitcherName(String) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setBasicReferer(BasicRefererInterfaceConfig) - Method in class com.weibo.api.motan.config.RefererConfig
 
setBasicService(BasicServiceInterfaceConfig) - Method in class com.weibo.api.motan.config.ServiceConfig
 
setCheck(Boolean) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
Deprecated.
setCheck(String) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setCheck(String) - Method in class com.weibo.api.motan.config.RegistryConfig
 
setCheck(Boolean) - Method in class com.weibo.api.motan.config.RegistryConfig
Deprecated.
setClientCommandList(List<RpcCommand.ClientCommand>) - Method in class com.weibo.api.motan.registry.support.command.RpcCommand
 
setClientRequestId(String) - Method in class com.weibo.api.motan.rpc.RpcContext
 
setCluster(String) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setCodec(String) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setCodec(String) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setCodec(Codec) - Method in class com.weibo.api.motan.transport.AbstractServer
 
setCommandCache(String) - Method in class com.weibo.api.motan.registry.support.command.CommandServiceManager
 
setConnectTimeout(Integer) - Method in class com.weibo.api.motan.config.RegistryConfig
 
setDc(String) - Method in class com.weibo.api.motan.registry.support.command.RpcCommand.ClientCommand
 
setDefault(boolean) - Method in class com.weibo.api.motan.config.BasicRefererInterfaceConfig
 
setDefault(boolean) - Method in class com.weibo.api.motan.config.BasicServiceInterfaceConfig
 
setDefault(boolean) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setDefault(boolean) - Method in class com.weibo.api.motan.config.RegistryConfig
 
setDirectUrl(String) - Method in class com.weibo.api.motan.config.RefererConfig
 
setEndpointFactory(String) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setErrorRate(String) - Method in class com.weibo.api.motan.config.AbstractRefererConfig
 
setException(Exception) - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
setExcise(String) - Method in class com.weibo.api.motan.config.RegistryConfig
 
setExport(String) - Method in class com.weibo.api.motan.config.AbstractServiceConfig
 
setExtConfig(ExtConfig) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setFilter(String) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setFilter(String) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setGroup(String) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setGzip(boolean) - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
setHaStrategy(HaStrategy<T>) - Method in interface com.weibo.api.motan.cluster.Cluster
 
setHaStrategy(HaStrategy<T>) - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
setHaStrategy(String) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setHeartbeat(boolean) - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
setHost(String) - Method in class com.weibo.api.motan.config.AbstractServiceConfig
 
setHost(String) - Method in class com.weibo.api.motan.config.ServiceConfig
 
setHost(String) - Method in class com.weibo.api.motan.rpc.URL
 
setId(String) - Method in class com.weibo.api.motan.config.AbstractConfig
 
setId(String) - Method in class com.weibo.api.motan.config.SpiConfig
 
setIndex(Integer) - Method in class com.weibo.api.motan.registry.support.command.RpcCommand.ClientCommand
 
setInterface(Class<T>) - Method in class com.weibo.api.motan.config.RefererConfig
 
setInterface(Class<T>) - Method in class com.weibo.api.motan.config.ServiceConfig
 
setInterfaceClass(Class<T>) - Method in class com.weibo.api.motan.config.SpiConfig
 
setInterfaceName(String) - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
setIothreads(Integer) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setIsDefault(Boolean) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setLazyInit(Boolean) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setLoadBalance(LoadBalance<T>) - Method in interface com.weibo.api.motan.cluster.Cluster
 
setLoadBalance(LoadBalance<T>) - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
setLoadbalance(String) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setLocalAddress(InetSocketAddress) - Method in class com.weibo.api.motan.transport.AbstractClient
 
setLocalAddress(InetSocketAddress) - Method in class com.weibo.api.motan.transport.AbstractServer
 
setLocalServiceAddress(String) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setLogService(LogService) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
setMaxClientConnection(Integer) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setMaxContentLength(Integer) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setMaxServerConnection(Integer) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setMaxWorkerThread(Integer) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setMean(String) - Method in class com.weibo.api.motan.config.AbstractRefererConfig
 
setMergeGroups(List<String>) - Method in class com.weibo.api.motan.registry.support.command.RpcCommand.ClientCommand
 
setMethodName(String) - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
setMethods(List<MethodConfig>) - Method in class com.weibo.api.motan.config.RefererConfig
 
setMethods(MethodConfig) - Method in class com.weibo.api.motan.config.RefererConfig
 
setMethods(MethodConfig) - Method in class com.weibo.api.motan.config.ServiceConfig
 
setMethods(List<MethodConfig>) - Method in class com.weibo.api.motan.config.ServiceConfig
 
setMinClientConnection(Integer) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setMingzSize(Integer) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setMinWorkerThread(Integer) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setMock(String) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setMockStackTrace(Throwable) - Static method in class com.weibo.api.motan.util.ExceptionUtil
覆盖给定exception的stack信息,server端产生业务异常时调用此类屏蔽掉server端的异常栈。
setModule(String) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setModule(String) - Method in class com.weibo.api.motan.rpc.Application
 
setName(String) - Method in class com.weibo.api.motan.config.MethodConfig
 
setName(String) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setName(String) - Method in class com.weibo.api.motan.config.RegistryConfig
 
setOneway(boolean) - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
setP90(String) - Method in class com.weibo.api.motan.config.AbstractRefererConfig
 
setP99(String) - Method in class com.weibo.api.motan.config.AbstractRefererConfig
 
setP999(String) - Method in class com.weibo.api.motan.config.AbstractRefererConfig
 
setParameters(Map<String, String>) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setParamtersDesc(String) - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
setPath(String) - Method in class com.weibo.api.motan.rpc.URL
 
setPattern(String) - Method in class com.weibo.api.motan.registry.support.command.RpcCommand.ClientCommand
 
setPoolLifo(Boolean) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setPort(Integer) - Method in class com.weibo.api.motan.config.RegistryConfig
 
setPort(int) - Method in class com.weibo.api.motan.rpc.URL
 
setProcessTime(long) - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
setProcessTime(long) - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
setProcessTime(long) - Method in interface com.weibo.api.motan.rpc.Response
业务处理时间
setProtocol(ProtocolConfig) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setProtocol(String) - Method in class com.weibo.api.motan.rpc.URL
 
setProtocols(List<ProtocolConfig>) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setProxy(String) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setProxy(String) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setProxy(boolean) - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
setReceiveTime(long) - Method in class com.weibo.api.motan.rpc.TraceableContext
 
setRef(T) - Method in class com.weibo.api.motan.config.ServiceConfig
 
setRegister(Boolean) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setRegister(Boolean) - Method in class com.weibo.api.motan.config.RegistryConfig
 
setRegistries(List<RegistryConfig>) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setRegistry(RegistryConfig) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setRegistry(CommandFailbackRegistry) - Method in class com.weibo.api.motan.registry.support.command.CommandServiceManager
 
setRegistryRetryPeriod(Integer) - Method in class com.weibo.api.motan.config.RegistryConfig
 
setRegistrySessionTimeout(Integer) - Method in class com.weibo.api.motan.config.RegistryConfig
 
setRegProtocol(String) - Method in class com.weibo.api.motan.config.RegistryConfig
 
setRemark(String) - Method in class com.weibo.api.motan.registry.support.command.RpcCommand.ClientCommand
 
setRemoteAddress(InetSocketAddress) - Method in class com.weibo.api.motan.transport.AbstractClient
 
setRemoteAddress(InetSocketAddress) - Method in class com.weibo.api.motan.transport.AbstractServer
 
setRequest(boolean) - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
setRequest(Request) - Method in class com.weibo.api.motan.rpc.RpcContext
 
setRequestId(long) - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
setRequestId(long) - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
setRequestId(long) - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
setRequestTimeout(Integer) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setRequestTimeout(Integer) - Method in class com.weibo.api.motan.config.MethodConfig
 
setRequestTimeout(Integer) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setRequestTimeout(Integer) - Method in class com.weibo.api.motan.config.RegistryConfig
 
setResponse(Response) - Method in class com.weibo.api.motan.rpc.RpcContext
 
setRetries(Integer) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setRetries(Integer) - Method in class com.weibo.api.motan.config.MethodConfig
 
setRetries(Integer) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setRetries(int) - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
setRetries(int) - Method in interface com.weibo.api.motan.rpc.Request
set retries
setReturnType(Class<?>) - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
setReturnType(Class<?>) - Method in interface com.weibo.api.motan.rpc.ResponseFuture
 
setRouteRules(List<String>) - Method in class com.weibo.api.motan.registry.support.command.RpcCommand.ClientCommand
 
setRpcAttachment(String, String) - Method in class com.weibo.api.motan.rpc.RpcContext
 
setRpcProtocolVersion(byte) - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
setRpcProtocolVersion(byte) - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
setRpcProtocolVersion(byte) - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
setRpcProtocolVersion(byte) - Method in interface com.weibo.api.motan.rpc.Request
 
setRpcProtocolVersion(byte) - Method in interface com.weibo.api.motan.rpc.Response
 
setSendTime(long) - Method in class com.weibo.api.motan.rpc.TraceableContext
 
setSerialization(String) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
setSerialize(int) - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
setServiceInterface(String) - Method in class com.weibo.api.motan.config.RefererConfig
 
setShareChannel(Boolean) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setSide(String) - Method in class com.weibo.api.motan.filter.AccessLogFilter
 
setSlowThreshold(int) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setSlowThreshold(Integer) - Method in class com.weibo.api.motan.config.MethodConfig
 
setSpiClass(Class<T>) - Method in class com.weibo.api.motan.config.SpiConfig
 
setStatus(int) - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
setSubscribe(Boolean) - Method in class com.weibo.api.motan.config.RegistryConfig
 
setSwitcherService(SwitcherService) - Static method in class com.weibo.api.motan.util.MotanSwitcherUtil
 
setSwitcherValue(String, boolean) - Static method in class com.weibo.api.motan.util.MotanSwitcherUtil
设置开关状态。
setThrowException(Boolean) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setTransExceptionStack(Boolean) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setUrl(URL) - Method in interface com.weibo.api.motan.cluster.Cluster
 
setUrl(URL) - Method in class com.weibo.api.motan.cluster.ha.AbstractHaStrategy
 
setUrl(URL) - Method in interface com.weibo.api.motan.cluster.HaStrategy
 
setUrl(URL) - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
setUrl(URL) - Method in class com.weibo.api.motan.transport.AbstractServer
 
setUsegz(Boolean) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setValue(Object) - Method in class com.weibo.api.motan.rpc.DefaultResponse
 
setValue(String, boolean) - Method in class com.weibo.api.motan.switcher.LocalSwitcherService
 
setValue(String, boolean) - Method in interface com.weibo.api.motan.switcher.SwitcherService
设置开关状态。
setVersion(String) - Method in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
setVersion(int) - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
setVersion(String) - Method in class com.weibo.api.motan.registry.support.command.RpcCommand.ClientCommand
 
setWeightString(String) - Method in class com.weibo.api.motan.cluster.loadbalance.AbstractLoadBalance
 
setWeightString(String) - Method in class com.weibo.api.motan.cluster.loadbalance.ConfigurableWeightLoadBalance
 
setWeightString(String) - Method in interface com.weibo.api.motan.cluster.LoadBalance
 
setWorkerQueueSize(Integer) - Method in class com.weibo.api.motan.config.ProtocolConfig
 
shareChannel - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
SharedObjectFactory<T> - Interface in com.weibo.api.motan.transport
 
short2bytes(short, byte[], int) - Static method in class com.weibo.api.motan.util.ByteUtil
把short类型的value转为2个byte字节,放到byte数组的off开始的位置,高位在前
ShutDownHook - Class in com.weibo.api.motan.closable
 
ShutDownHookListener - Class in com.weibo.api.motan.closable
 
ShutDownHookListener() - Constructor for class com.weibo.api.motan.closable.ShutDownHookListener
 
SimpleConfigHandler - Class in com.weibo.api.motan.config.handler
Handle refUrl to get referers, assemble to a cluster, create a proxy
SimpleConfigHandler() - Constructor for class com.weibo.api.motan.config.handler.SimpleConfigHandler
 
SimpleSerialization - Class in com.weibo.api.motan.serialize
Created by zhanglei28 on 2017/6/8.
SimpleSerialization() - Constructor for class com.weibo.api.motan.serialize.SimpleSerialization
 
SimpleSerialization.SimpleType - Class in com.weibo.api.motan.serialize
 
SimpleType() - Constructor for class com.weibo.api.motan.serialize.SimpleSerialization.SimpleType
 
size() - Method in class com.weibo.api.motan.util.ConcurrentHashSet
Returns the number of elements in this set (its cardinality).
SLOW_COST - Static variable in class com.weibo.api.motan.common.MotanConstants
 
slowCount - Variable in class com.weibo.api.motan.util.AccessStatisticResult
 
slowThreshold - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
slowThreshold - Variable in class com.weibo.api.motan.util.AccessStatisticResult
 
sort() - Method in class com.weibo.api.motan.registry.support.command.RpcCommand
 
Spi - Annotation Type in com.weibo.api.motan.core.extension
 
SpiConfig<T> - Class in com.weibo.api.motan.config
 
SpiConfig() - Constructor for class com.weibo.api.motan.config.SpiConfig
 
SpiMeta - Annotation Type in com.weibo.api.motan.core.extension
 
StandardThreadExecutor - Class in com.weibo.api.motan.core
代码和思路主要来自于: 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() - Constructor for class com.weibo.api.motan.core.StandardThreadExecutor
 
StandardThreadExecutor(int, int) - Constructor for class com.weibo.api.motan.core.StandardThreadExecutor
 
StandardThreadExecutor(int, int, long, TimeUnit) - Constructor for class com.weibo.api.motan.core.StandardThreadExecutor
 
StandardThreadExecutor(int, int, int) - Constructor for class com.weibo.api.motan.core.StandardThreadExecutor
 
StandardThreadExecutor(int, int, int, ThreadFactory) - Constructor for class com.weibo.api.motan.core.StandardThreadExecutor
 
StandardThreadExecutor(int, int, long, TimeUnit, int) - Constructor for class com.weibo.api.motan.core.StandardThreadExecutor
 
StandardThreadExecutor(int, int, long, TimeUnit, int, ThreadFactory) - Constructor for class com.weibo.api.motan.core.StandardThreadExecutor
 
StandardThreadExecutor(int, int, long, TimeUnit, int, ThreadFactory, RejectedExecutionHandler) - Constructor for class com.weibo.api.motan.core.StandardThreadExecutor
 
state - Variable in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
state - Variable in class com.weibo.api.motan.transport.AbstractClient
 
state - Variable in class com.weibo.api.motan.transport.AbstractServer
 
StatInfo() - Constructor for class com.weibo.api.motan.rpc.RpcStats.StatInfo
 
STATISTIC - Static variable in class com.weibo.api.motan.rpc.ApplicationInfo
Deprecated.
 
STATISTIC_PEROID - Static variable in class com.weibo.api.motan.common.MotanConstants
 
statisticCallback() - Method in class com.weibo.api.motan.transport.ProviderProtectedMessageRouter
 
StatisticCallback - Interface in com.weibo.api.motan.util
统计扩展接口,需要统计的资源自行实现后 registry到StatsUtil便可以
statisticCallback() - Method in interface com.weibo.api.motan.util.StatisticCallback
 
statisticCallbacks - Static variable in class com.weibo.api.motan.util.StatsUtil
 
StatsUtil - Class in com.weibo.api.motan.util
 
StatsUtil() - Constructor for class com.weibo.api.motan.util.StatsUtil
 
StatsUtil.AccessStatus - Enum in com.weibo.api.motan.util
 
STRING - Static variable in class com.weibo.api.motan.serialize.SimpleSerialization.SimpleType
 
STRING_ARRAY - Static variable in class com.weibo.api.motan.serialize.SimpleSerialization.SimpleType
 
STRING_MAP - Static variable in class com.weibo.api.motan.serialize.SimpleSerialization.SimpleType
 
stringToCommand(String) - Static method in class com.weibo.api.motan.registry.support.command.RpcCommandUtil
把指令字符串转为指令对象
StringTools - Class in com.weibo.api.motan.util
String utils
StringTools() - Constructor for class com.weibo.api.motan.util.StringTools
 
submittedTasksCount - Variable in class com.weibo.api.motan.core.StandardThreadExecutor
 
subscribe(URL, NotifyListener) - Method in interface com.weibo.api.motan.registry.DiscoveryService
 
subscribe(URL, NotifyListener) - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
subscribe(URL, NotifyListener) - Method in class com.weibo.api.motan.registry.support.FailbackRegistry
 
subscribeCommand(URL, CommandListener) - Method in class com.weibo.api.motan.registry.support.command.CommandFailbackRegistry
 
subscribeService(URL, ServiceListener) - Method in class com.weibo.api.motan.registry.support.command.CommandFailbackRegistry
 
Switcher - Class in com.weibo.api.motan.switcher
 
Switcher(String, boolean) - Constructor for class com.weibo.api.motan.switcher.Switcher
 
SwitcherFilter - Class in com.weibo.api.motan.filter
 
SwitcherFilter() - Constructor for class com.weibo.api.motan.filter.SwitcherFilter
 
switcherIsOpenWithDefault(String, boolean) - Static method in class com.weibo.api.motan.util.MotanSwitcherUtil
检查开关是否开启,如果开关不存在则将开关置默认值,并返回。
SwitcherListener - Interface in com.weibo.api.motan.switcher
Created by axb on 16/4/25.
switcherService - Variable in class com.weibo.api.motan.proxy.AbstractRefererHandler
 
SwitcherService - Interface in com.weibo.api.motan.switcher
 

T

TARGET_DIR - Static variable in class com.weibo.api.motan.transport.async.MotanAsyncProcessor
 
ThreadProtectedFilter - Class in com.weibo.api.motan.filter
 
ThreadProtectedFilter() - Constructor for class com.weibo.api.motan.filter.ThreadProtectedFilter
 
throwException - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
timeout - Variable in class com.weibo.api.motan.rpc.DefaultResponseFuture
 
toArray(List<Byte>) - Static method in class com.weibo.api.motan.util.ByteUtil
 
toBytes() - Method in class com.weibo.api.motan.protocol.v2motan.MotanV2Header
 
toFullStr() - Method in class com.weibo.api.motan.rpc.URL
 
toList(byte[]) - Static method in class com.weibo.api.motan.util.ByteUtil
 
toMessage(Exception) - Static method in class com.weibo.api.motan.util.ExceptionUtil
 
toQueryString(Map<String, String>) - Static method in class com.weibo.api.motan.util.StringTools
 
toSimpleString() - Method in class com.weibo.api.motan.rpc.URL
 
toString() - Method in class com.weibo.api.motan.cluster.support.ClusterSpi
 
toString() - Method in class com.weibo.api.motan.config.AbstractConfig
 
toString() - Method in class com.weibo.api.motan.rpc.DefaultRequest
 
toString() - Method in class com.weibo.api.motan.rpc.TraceableContext
 
toString() - Method in class com.weibo.api.motan.rpc.URL
 
toString(Request) - Static method in class com.weibo.api.motan.util.MotanFrameworkUtil
输出请求的关键信息: requestId=** interface=** method=**(**)
totalCount - Variable in class com.weibo.api.motan.filter.ThreadProtectedFilter
 
totalCount - Variable in class com.weibo.api.motan.util.AccessStatisticResult
 
totalCounter - Variable in class com.weibo.api.motan.transport.ProviderProtectedMessageRouter
 
totalLimit - Variable in class com.weibo.api.motan.filter.ThreadProtectedFilter
 
trace(String) - Method in class com.weibo.api.motan.log.DefaultLogService
 
trace(String, Object...) - Method in class com.weibo.api.motan.log.DefaultLogService
 
trace(String) - Method in interface com.weibo.api.motan.log.LogService
 
trace(String, Object...) - Method in interface com.weibo.api.motan.log.LogService
 
trace(String) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
TRACE_AFTER_BIZ - Static variable in class com.weibo.api.motan.common.MotanConstants
 
TRACE_BEFORE_BIZ - Static variable in class com.weibo.api.motan.common.MotanConstants
 
TRACE_CDECODE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
TRACE_CENCODE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
TRACE_CONNECTION - Static variable in class com.weibo.api.motan.common.MotanConstants
 
TRACE_CRECEIVE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
TRACE_CSEND - Static variable in class com.weibo.api.motan.common.MotanConstants
 
TRACE_INVOKE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
TRACE_PROCESS - Static variable in class com.weibo.api.motan.common.MotanConstants
 
TRACE_SDECODE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
TRACE_SENCODE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
TRACE_SEXECUTOR_START - Static variable in class com.weibo.api.motan.common.MotanConstants
 
TRACE_SRECEIVE - Static variable in class com.weibo.api.motan.common.MotanConstants
 
TRACE_SSEND - Static variable in class com.weibo.api.motan.common.MotanConstants
 
Traceable - Interface in com.weibo.api.motan.rpc
 
TraceableContext - Class in com.weibo.api.motan.rpc
 
TraceableContext() - Constructor for class com.weibo.api.motan.rpc.TraceableContext
 
traceInfoMap - Variable in class com.weibo.api.motan.rpc.TraceableContext
 
transExceptionStack - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 
Transport - Interface in com.weibo.api.motan.transport
 
transport(byte[]) - Method in interface com.weibo.api.motan.transport.Transport
remote transport
TransportException - Exception in com.weibo.api.motan.transport
 
TransportException(InetSocketAddress, InetSocketAddress, String) - Constructor for exception com.weibo.api.motan.transport.TransportException
 
TransportException(InetSocketAddress, InetSocketAddress, String, Throwable) - Constructor for exception com.weibo.api.motan.transport.TransportException
 

U

unavailable(URL) - Method in interface com.weibo.api.motan.registry.RegistryService
set service status to unavailable, client should not discover services of unavailable state
unavailable(URL) - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
unexport(List<Exporter<T>>, Collection<URL>) - Method in interface com.weibo.api.motan.config.handler.ConfigHandler
 
unexport(List<Exporter<T>>, Collection<URL>) - Method in class com.weibo.api.motan.config.handler.SimpleConfigHandler
 
unexport() - Method in class com.weibo.api.motan.config.ServiceConfig
 
unexport() - Method in class com.weibo.api.motan.protocol.rpc.DefaultRpcExporter
 
unexport() - Method in interface com.weibo.api.motan.rpc.Exporter
 
unGzip(byte[]) - Static method in class com.weibo.api.motan.util.ByteUtil
 
unregister(URL) - Method in interface com.weibo.api.motan.registry.RegistryService
unregister service to registry
unregister(URL) - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
unregister(URL) - Method in class com.weibo.api.motan.registry.support.FailbackRegistry
 
unRegisterListener(String, SwitcherListener) - Method in class com.weibo.api.motan.switcher.LocalSwitcherService
 
unRegisterListener(String, SwitcherListener) - Method in interface com.weibo.api.motan.switcher.SwitcherService
unregister a listener
unRegistryStatisticCallback(StatisticCallback) - Static method in class com.weibo.api.motan.util.StatsUtil
 
unsubscribe(URL, NotifyListener) - Method in interface com.weibo.api.motan.registry.DiscoveryService
 
unsubscribe(URL, NotifyListener) - Method in class com.weibo.api.motan.registry.support.AbstractRegistry
 
unsubscribe(URL, NotifyListener) - Method in class com.weibo.api.motan.registry.support.FailbackRegistry
 
unsubscribeCommand(URL, CommandListener) - Method in class com.weibo.api.motan.registry.support.command.CommandFailbackRegistry
 
unsubscribeService(URL, ServiceListener) - Method in class com.weibo.api.motan.registry.support.command.CommandFailbackRegistry
 
url - Variable in class com.weibo.api.motan.cluster.ha.AbstractHaStrategy
 
url - Variable in class com.weibo.api.motan.rpc.AbstractNode
 
url - Variable in class com.weibo.api.motan.rpc.AbstractProvider
 
URL - Class in com.weibo.api.motan.rpc
Desc a reffer or a service.
URL(String, String, int, String) - Constructor for class com.weibo.api.motan.rpc.URL
 
URL(String, String, int, String, Map<String, String>) - Constructor for class com.weibo.api.motan.rpc.URL
 
url - Variable in class com.weibo.api.motan.transport.AbstractClient
 
url - Variable in class com.weibo.api.motan.transport.AbstractServer
 
urlDecode(String) - Static method in class com.weibo.api.motan.util.StringTools
 
urlEncode(String) - Static method in class com.weibo.api.motan.util.StringTools
 
URLParamType - Enum in com.weibo.api.motan.common
 
UrlUtils - Class in com.weibo.api.motan.util
Url辅助类
UrlUtils() - Constructor for class com.weibo.api.motan.util.UrlUtils
 
usegz - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 

V

value - Variable in enum com.weibo.api.motan.common.ChannelState
 
value - Variable in enum com.weibo.api.motan.common.FutureState
 
valueOf(String) - Static method in enum com.weibo.api.motan.common.ChannelState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.weibo.api.motan.common.FutureState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.weibo.api.motan.common.URLParamType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.weibo.api.motan.config.RegistryConfig.Excise
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.weibo.api.motan.core.extension.Scope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.weibo.api.motan.protocol.rpc.RpcProtocolVersion
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.weibo.api.motan.protocol.v2motan.MotanV2Header.MessageStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.weibo.api.motan.rpc.URL
 
valueOf(String) - Static method in enum com.weibo.api.motan.util.StatsUtil.AccessStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.weibo.api.motan.common.ChannelState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.weibo.api.motan.common.FutureState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.weibo.api.motan.common.URLParamType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.weibo.api.motan.config.RegistryConfig.Excise
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.weibo.api.motan.core.extension.Scope
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.weibo.api.motan.protocol.rpc.RpcProtocolVersion
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.weibo.api.motan.protocol.v2motan.MotanV2Header.MessageStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.weibo.api.motan.util.StatsUtil.AccessStatus
Returns an array containing the constants of this enum type, in the order they are declared.
version - Variable in class com.weibo.api.motan.config.AbstractInterfaceConfig
 

W

warn(String) - Method in class com.weibo.api.motan.log.DefaultLogService
 
warn(String, Object...) - Method in class com.weibo.api.motan.log.DefaultLogService
 
warn(String, Throwable) - Method in class com.weibo.api.motan.log.DefaultLogService
 
warn(String) - Method in interface com.weibo.api.motan.log.LogService
 
warn(String, Object...) - Method in interface com.weibo.api.motan.log.LogService
 
warn(String, Throwable) - Method in interface com.weibo.api.motan.log.LogService
 
warn(String) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
warn(String, Object...) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
warn(String, Throwable) - Static method in class com.weibo.api.motan.util.LoggerUtil
 
workerQueueSize - Variable in class com.weibo.api.motan.config.ProtocolConfig
 
wrapMessageHandler(MessageHandler) - Method in interface com.weibo.api.motan.transport.HeartbeatFactory
包装 handler,支持心跳包的处理
wrapMessageHandler(MessageHandler) - Method in class com.weibo.api.motan.transport.support.DefaultRpcHeartbeatFactory
 

Z

ZOOKEEPER_REGISTRY_COMMAND - Static variable in class com.weibo.api.motan.common.MotanConstants
 
ZOOKEEPER_REGISTRY_NAMESPACE - Static variable in class com.weibo.api.motan.common.MotanConstants
heartbeat constants end
A B C D E F G H I J L M N O P Q R S T U V W Z 
Skip navigation links

Copyright © 2019. All rights reserved.