All Classes and Interfaces
Class
Description
A handler for rejected element that throws a
RejectException.Abort Policy.
Abstract compiler.
Utility methods and public methods for parsing configuration
The abstract implementation of
DynamicConfigurationAbstract
DynamicConfigurationFactory implementation with cache abilityAbstract configuration for the interface.
Abstract configuration for the method.
AbstractConsumerConfig
Abstract configuration for the service.
Activate.
OrderComparator
Provide helpful information for
ExtensionLoader to inject dependency extension instance.Code generator for Adaptive class
AdaptiveCompiler.
AdaptiveExtensionInjector
Configuration for the metric aggregation.
Commons Annotation Utilities class
Configuration for the dubbo application.
initialize and start application instance
Listen for Dubbo application deployment events
ExtensionLoader, DubboBootstrap and this class are at present designed to be
singleton or static (by itself totally static or uses some static fields).The method arguments configuration
2015/1/27.
Contains some methods to check array.
Configuration for the baggage.
2019-10-10
CodecUtils.
This thread pool is self-tuned.
A safe and lazy and removable initializer implementation that wraps a
Callable object.The
Comparator for CharSequenceA class that enables to get an IP range from CIDR specification.
ClassGenerator
Deprecated.
ClassUtils.
2015/1/27.
constant for Cluster fault-tolerant mode
2015/1/27.
Miscellaneous collection utility methods.
Dubbo custom VM properties
System-related VM properties
Third-party-related VM properties
Compiler.
This is an abstraction specially customized for the sequence Dubbo retrieves properties.
support multiple config center, simply iterating each concrete config center.
ConcurrentHashMap util
Configuration for the config center.
An event raised when the config changed, immutable.
Config change event type
This class receives an
AbstractConfig and exposes its attributes through ConfigurationHold content and version information
External config keys list
A lock-free config manager (through ConcurrentHashMap), for fast read operation.
Config processing mode for unique config type, e.g.
Configuration interface, to fetch the value for the specified key.
Properties Cache of Configuration
ConfigurationUtils.getCachedDynamicProperty(ScopeModel, String, String)Config listener, will get notified when the config it listens on changes.
Utilities for manipulating configurations from different sources
Deprecated.
Replaced to
CommonConstantsThe service consumer default configuration
Deprecated.
This model is bound to your reference's configuration, for example, group, version or method level configuration.
A class to convert the source-typed value to the target-typed value
CtClassBuilder is builder for CtClass
Consider implementing
Lifecycle to enable executors shutdown when the process stops.The default implementation of
PageInspired by Fastjson2
see com.alibaba.fastjson2.filter.ContextAutoTypeBeforeHandler#apply(java.lang.String, java.lang.Class, long)
2015/1/27.
Deploy state enum
A handler for rejected element that discards the oldest element.
A handler for rejected element that silently discards the rejected element.
An interface for destroying resources
Dubbo internal
LoadingStrategyEnsure javassist will load Dubbo's class from Dubbo's classLoader
Dubbo
LoadingStrategyAn annotation used for referencing a Dubbo service.
Class-level annotation used for declaring Dubbo service.
Marker interface implemented by all stub.
Dynamic Configuration
From the use scenario internally inside framework, there are mainly three kinds of methods:
From the use scenario internally inside framework, there are mainly three kinds of methods:
DynamicConfiguration.getProperties(String, String, long), get configuration file from Config Center at start up.
DynamicConfiguration.addListener(String, String, ConfigurationListener)/ DynamicConfiguration.removeListener(String, String, ConfigurationListener)
, add or remove listeners for governance rules or config items that need to watch.
Configuration.getProperty(String, Object), get a single config item.
DynamicConfiguration.getConfig(String, String, long), get the specified config
The factory interface to create the instance of
DynamicConfigurationGlobal Param Cache Table
Not support method parameters
EagerThreadPool
When the core threads are all in busy,
create new thread instead of putting task into blocking queue.
EagerThreadPoolExecutor
Echo service.
2015/1/27.
Configuration from system environment
Logger interface with the ability of displaying solution of different types of error.
Indicating unstable API, may get removed or changed in future releases.
Configuration for the exporter.
Deprecated.
because it's too general, switch to use
SPIUniform accessor for extension
SPI extension can implement this aware interface to obtain appropriate
ExtensionAccessor instance.ExtensionDirector is a scoped extension loader manager.
Deprecated.
use
ExtensionInjector insteadAn injector to provide resources for SPI extension.
ApplicationModel, DubboBootstrap and this class are
at present designed to be singleton or static (by itself totally static or uses some static fields).A Post-processor called before or after extension initialization.
Extension SPI Scope
A fail-safe (ignoring exception thrown by logger) wrapper of error type aware logger.
The utilities class for Java Reflection
FieldLocal file interaction class that can back different caches.
ClassLoader Level static share.
In lower case
Creates a thread pool that reuses a fixed number of threads
Holds the results of formatting done by
MessageFormatter.Model of dubbo framework, it can be shared with multiple applications.
Service repository for framework
2018/10/25
GenericException
Generic service interface
A initializer to release resource automatically on dubbo shutdown
Global resource repository between all framework models.
A
Timer optimized for approximated I/O timeout scheduling.Configuration for the histogram.
Helper Class for hold a value.
Used to interact with other systems.
An interface for Initializing resources
In-memory configuration
Interface to create instance for specify type, using both in
ExtensionLoader and ScopeBeanFactory.InternalRunnable
There is a risk of memory leak when using
InternalThreadLocal without calling
InternalThreadLocal.removeAll().InternalThread
InternalThreadLocal
A special variant of
ThreadLocal that yields higher access performance when accessed from a
InternalThread.The internal data structure that stores the threadLocal variables for Netty and all
InternalThreads.Miscellaneous io utility methods.
Thread pool isolation between services, that is, a service has its own thread pool and not interfere with each other
2015/1/27.
JavassistCompiler.
Adaptor to commons logging, depends on commons-logging.jar.
JdkCompiler.
JRE version
Level
The Lifecycle of Dubbo component
Creates a thread pool that creates new threads as needed until limits reaches.
Loggers that can register to listen to log messages.
constant for Load-balance strategy
Load Status
Logger interface
Logger provider
Constants of Error Codes used in logger.
Logger factory
Log Listener, can registered to an
ListenableLogger.LRU-2
A 'least recently used' cache based on LinkedHashMap.
2015/1/27.
MD5 util.
Java Reflection
Member Utilities classRuntime.freeMemory() technology is used to calculate the
memory limit by using the percentage of the current maximum available memory,
which can be used with MemoryLimiter.Can completely solve the OOM problem caused by
LinkedBlockingQueue.memory limiter.
Can completely solve the OOM problem caused by
LinkedBlockingQueue,
does not depend on Instrumentation and is easier to use than
MemoryLimitedLinkedBlockingQueue.MemoryStatus
This is a copy of org.slf4j.helpers.MessageFormatter from slf4j-api.
Configuration for the metadata report.
The Comparator class for
Method, the comparison rule :
Comparing to two method names lexicographically.The method configuration
2015/1/27.
MethodDefinition Builder based on Java ReflectionMiscellaneous method utility methods.
Configuration for the metrics.
Mixin
Configuration for the module.
Manage configs of module
Export/refer services of module
Module deploy listener
Model of a service module
Service repository for module
Configuration for the monitor.
An interface to convert the source-typed value to multiple value, e.g , Java array,
Collection or
sub-interfacesNamedInternalThreadFactory
This is a threadFactory which produce
InternalThreadInternalThreadFactory.
Nested Class Parameter
IP and Port Helper for RPC
Node.
Deprecated.
Deprecated.
NoSuchMethodException.
NoSuchPropertyException.
OperatingSystemBeanManager related.
The smaller value, the higher priority
A packable method is used to customize serialization for methods.
The model class of pagination
Parameter
Deprecated.
Path Utilities class
PojoUtils.
The utilities class for Java
PredicatePrioritized interface can be implemented by objects that
should be sorted, for example the tasks in executable queue.TODO
Configuration for the prometheus.
Configuration for the propagation.
Configuration from system properties and dubbo.properties
Configuration for the protocol.
Class-level annotation used for declaring Dubbo interface.
Configuration for the service provider.
Deprecated.
ProviderModel is about published services
Proxy.
QosConstants
Deprecated.
Recommend
DubboReference as the substituteBase configuration for the service reference.
inspired by Netty
A utility class that provides methods for accessing and manipulating private fields and methods of an object.
ReflectUtils
Regex matching of keys is supported.
Indicate that a service need to be registered to registry or not
Configuration for service registration and discovery.
Exception thrown by an
MemorySafeLinkedBlockingQueue when an element cannot be accepted.RejectHandler, it works when you need to custom reject action.
RemotingConstants
Resetable.
Configuration for triple rest protocol.
Configuration for the sampling.
Inject scope bean to SPI extension instance
A bean factory for internal sharing.
An accessor for scope model, it can be use in interface default methods to get scope model.
An interface to inject FrameworkModel/ApplicationModel/ModuleModel for SPI extensions and internal beans.
Deprecated.
Recommend
DubboService as the substituteThe resolver class for
@ServiceBase configuration for service.
2015/1/27.
2015/1/27.
ServiceModel and ServiceMetadata are to some extent duplicated with each other.
Notice, this class currently has no usage inside Dubbo.
Services
LoadingStrategyA callback interface invoked when Dubbo application is stopped.
The composed
ShutdownHookCallback class to manipulate one and more ShutdownHookCallback instancesMarker for extension interface
SpiExtensionInjector
Configuration for ssl.
Stack.
Status
Level
StatusChecker
StatusManager
StreamObserver is a common streaming API.
The utilities class for
StreamStream utils.
A class to covert
String to the target-typed valueThe class to convert
String to array-type objectThe class to convert
String to BlockingDeque-based valueThe class to convert
String to BlockingDeque-based valueThe class to convert
String to char[]The class to convert
String to Collection-based valueThe class to convert
String to multiple value objectThe class to convert
String to TransferQueue-based valueStringUtils
Configuration from system properties
TaskQueue in the EagerThreadPoolExecutor
It offer a task if the executor's submittedTaskCount less than currentPoolThreadSize
or the currentPoolThreadSize more than executor's maximumPoolSize.
The most important difference between this Executor and other normal Executor is that this one doesn't manage
any thread.
ThreadPool
An Event when the Dubbo thread pool is exhausted.
A function interface for action with
ThrowableSchedules
TimerTasks for one-time future execution in a background
thread.A task which is executed after the delay specified with
Timer.newTimeout(TimerTask, long, TimeUnit) (TimerTask, long, TimeUnit)}.Provide currentTimeMillis acquisition for high-frequency access scenarios.
Configuration for tracing.
An abstract implementation of
DynamicConfiguration is like "tree-structure" path :
invalid reference
"file"
invalid reference
"zookeeper"
Configuration for triple protocol.
2015/1/27.
2015/1/27.
2015/1/27.
The utilities class for
TypeUnsafeByteArrayInputStream.
UnsafeByteArrayOutputStream.
Thread-unsafe StringReader.
Thread-unsafe StringWriter.
URL - Uniform Resource Locator (Immutable, ThreadSafe)
A class which store parameters for
Using
URL
Using
DynamicParamTable to compress common keys (i.e. side, version)
DynamicParamTable allow to use only two integer value named `key` and
`value-offset` to find a unique string to string key-pair.An embedded Map adapt to URLParam
copy-on-write mode, urlParam reference will be changed after modify actions.
copy-on-write mode, urlParam reference will be changed after modify actions.
Act like URLParam, will not use DynamicParamTable to compress parameters,
which can support serializer serialization and deserialization.
See original Utf8.java
Version
Wrapper.
The annotated class will only work as a wrapper when the condition matches.
OrderComparator
Derived from
ActivateComparator
ClassUtils