- 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
-
- 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
-
Deprecated.
- 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的排到最前面
- CompatibleCodec - Class in com.weibo.api.motan.protocol.v2motan
-
Created by zhanglei28 on 2019/4/2.
- CompatibleCodec() - Constructor for class com.weibo.api.motan.protocol.v2motan.CompatibleCodec
-
- compress(byte[], boolean, int) - Method in class com.weibo.api.motan.protocol.rpc.CompressRpcCodec
-
Deprecated.
- CompressRpcCodec - Class in com.weibo.api.motan.protocol.rpc
-
Deprecated.
- CompressRpcCodec() - Constructor for class com.weibo.api.motan.protocol.rpc.CompressRpcCodec
-
Deprecated.
- 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
-
- 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
-
Deprecated.
获取输入流。兼容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
-
- getMaxConnectionPerGroup() - 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.BreezeSerialization
-
- 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
-
- getSerializeNumber() - Method in class com.weibo.api.motan.rpc.DefaultRequest
-
- getSerializeNumber() - Method in class com.weibo.api.motan.rpc.DefaultResponse
-
- getSerializeNumber() - Method in class com.weibo.api.motan.rpc.DefaultResponseFuture
-
- getSerializeNumber() - Method in interface com.weibo.api.motan.rpc.Request
-
- getSerializeNumber() - Method in interface com.weibo.api.motan.rpc.Response
-
- 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
-
Deprecated.
- 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
-
- 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
-