dubbo-hessian-lite.git
4 years agofix #1845 (#1851)
lzj [Mon, 28 May 2018 02:21:15 +0000 (10:21 +0800)] 
fix #1845 (#1851)

4 years agooptimize_zk_create (#1833)
whanice [Fri, 25 May 2018 02:28:21 +0000 (10:28 +0800)] 
optimize_zk_create (#1833)

4 years agoUse InternalThreadLocal in consumer side (#1825)
时无两丶 [Fri, 25 May 2018 02:14:03 +0000 (10:14 +0800)] 
Use InternalThreadLocal in consumer side (#1825)

* SerializerFactory 获取Serializer时,锁住整个hashmap,导致整个过程被block

* 单元测试。保证一个class只有一个serializer和deserializer。单线程和多线程测试

* 增加线程数 50 模拟多个线程来获取serializer和deserializer

* 当cores线程数全都使用的情况下,默认线程池会把任务放入到队列中。队列满则再创建线程(总数不会超过Max线程数)
增强线程池:在请求量阶段性出现高峰时使用
特性:cores线程全部使用的情况下,优先创建线程(总数不会超过max),当max个线程全都在忙的情况下,才将任务放入队列。请求量下降时,线程池会自动维持cores个线程,多余的线程退出。

* 当cores线程数全都使用的情况下,默认线程池会把任务放入到队列中。队列满则再创建线程(总数不会超过Max线程数)
增强线程池:在请求量阶段性出现高峰时使用
特性:cores线程全部使用的情况下,优先创建线程(总数不会超过max),当max个线程全都在忙的情况下,才将任务放入队列。请求量下降时,线程池会自动维持cores个线程,多余的线程退出。

* 补全单元测试,测试扩展是否生效

* 错误命名

* 增加@Override注解
long 初始化赋值时,小写l改为大写L防止误读

* 修复单元测试

* remove enhanced

* remove enhanced

* Change ThreadFactory for consumer side which is to use InternalThreadLocal in RpcContext.

4 years agoMerge pull request #1836, there is a potential deadlock in DubboProtocol#getSharedClient.
Ian Luo [Fri, 25 May 2018 02:11:07 +0000 (10:11 +0800)] 
Merge pull request #1836, there is a potential deadlock in DubboProtocol#getSharedClient.

Fixes #677.

4 years agoMerge pull request #1839, remove validation key from provider url registered to registry.
nzomkxia [Thu, 24 May 2018 06:44:13 +0000 (14:44 +0800)] 
Merge pull request #1839, remove validation key from provider url registered to registry.

Fixes #1386.

4 years ago #1830: dbindex support in redis (#1831)
Ian Luo [Wed, 23 May 2018 02:10:46 +0000 (10:10 +0800)] 
#1830: dbindex support in redis (#1831)

4 years ago #1597: CacheFilter,when value is null,it will throw NPE(if use ehcache for jcache...
Ian Luo [Tue, 22 May 2018 07:25:35 +0000 (15:25 +0800)] 
#1597: CacheFilter,when value is null,it will throw NPE(if use ehcache for jcache),why not check null here (#1828)

4 years ago #1816: dubbo schema compatibility
beiwei30 [Mon, 21 May 2018 08:21:42 +0000 (16:21 +0800)] 
#1816: dubbo schema compatibility

4 years agoRemove .orig file and update gitigonre.
Huxing Zhang [Sun, 20 May 2018 06:37:53 +0000 (14:37 +0800)] 
Remove .orig file and update gitigonre.

4 years agoMerge pull request #1643, ChannelState branch prediction optimization.
hengyunabc [Fri, 18 May 2018 06:49:35 +0000 (14:49 +0800)] 
Merge pull request #1643, ChannelState branch prediction optimization.

4 years agoEnsure merger is specified to true to demonstrate the merger feature.
Huxing Zhang [Thu, 17 May 2018 10:06:50 +0000 (18:06 +0800)] 
Ensure merger is specified to true to demonstrate the merger feature.

4 years agoRemove unnecessary null check.
Huxing Zhang [Thu, 17 May 2018 09:53:16 +0000 (17:53 +0800)] 
Remove unnecessary null check.

4 years agoSimplify code, no function change.
Huxing Zhang [Thu, 17 May 2018 09:32:43 +0000 (17:32 +0800)] 
Simplify code, no function change.

4 years agoMerge pull request #1808, fix URL parsing problem when user filed contains '@' charac...
Lei Wei [Thu, 17 May 2018 08:21:30 +0000 (16:21 +0800)] 
Merge pull request #1808, fix URL parsing problem when user filed contains '@' characters.

Fixed #1470

4 years agoMerge branch 'ralf0131-graceful-shutdown-in-tomcat'
Huxing Zhang [Thu, 17 May 2018 08:19:17 +0000 (16:19 +0800)] 
Merge branch 'ralf0131-graceful-shutdown-in-tomcat'

4 years agoMerge branch 'graceful-shutdown-in-tomcat' of https://github.com/ralf0131/dubbo into...
Huxing Zhang [Thu, 17 May 2018 08:16:20 +0000 (16:16 +0800)] 
Merge branch 'graceful-shutdown-in-tomcat' of https://github.com/ralf0131/dubbo into ralf0131-graceful-shutdown-in-tomcat

4 years agoMerge pull request #1811, fix unstable hessian protocol unit test by adding overload.
Huxing Zhang [Thu, 17 May 2018 08:04:19 +0000 (16:04 +0800)] 
Merge pull request #1811, fix unstable hessian protocol unit test by adding overload.

Fixed #1667, fixed #1727

4 years agoFix UT failure.
Huxing Zhang [Thu, 10 May 2018 08:16:43 +0000 (16:16 +0800)] 
Fix UT failure.

4 years agoCorrect pom version.
Huxing Zhang [Wed, 9 May 2018 10:25:01 +0000 (18:25 +0800)] 
Correct pom version.

4 years agoUsing ExecutorUtil#gracefulShutdown instead of create a new method.
Huxing Zhang [Wed, 9 May 2018 09:16:09 +0000 (17:16 +0800)] 
Using ExecutorUtil#gracefulShutdown instead of create a new method.

4 years agoAdd dependency.
Huxing Zhang [Wed, 9 May 2018 07:46:17 +0000 (15:46 +0800)] 
Add dependency.

4 years agoAdd comments.
Huxing Zhang [Wed, 9 May 2018 04:03:22 +0000 (12:03 +0800)] 
Add comments.

4 years agoEnsure Dubbo can shutdown correctly when running both under tomcat and programmably.
Huxing Zhang [Mon, 7 May 2018 07:56:47 +0000 (15:56 +0800)] 
Ensure Dubbo can shutdown correctly when running both under tomcat and programmably.

4 years agoRemove unused code.
Huxing Zhang [Sat, 28 Apr 2018 03:12:57 +0000 (11:12 +0800)] 
Remove unused code.

4 years agoAdd a construtor to accept address and protocol for RegistryConfig.
Huxing Zhang [Sat, 28 Apr 2018 01:42:27 +0000 (09:42 +0800)] 
Add a construtor to accept address and protocol for RegistryConfig.

4 years agoMerge pull request #1570, fix annotation demo in dubbo-test.
yì jí [Thu, 17 May 2018 05:03:20 +0000 (13:03 +0800)] 
Merge pull request #1570, fix annotation demo in dubbo-test.

4 years agoMerge pull request #1792, fix zk unsubscribe issue.
nzomkxia [Thu, 17 May 2018 03:51:17 +0000 (11:51 +0800)] 
Merge pull request #1792, fix zk unsubscribe issue.

4 years agoRemove redundant cast.
Huxing Zhang [Wed, 16 May 2018 09:01:29 +0000 (17:01 +0800)] 
Remove redundant cast.

4 years ago #1682: Enhance the test coverage part-4: dubbo-common/src/main/java/com/alibaba...
Ian Luo [Wed, 16 May 2018 02:10:21 +0000 (10:10 +0800)] 
#1682: Enhance the test coverage part-4: dubbo-common/src/main/java/com/alibaba/dubbo/common/status(store|threadpoolutils) modules (#1806)

4 years agomake unit test stable (#1805)
Ian Luo [Tue, 15 May 2018 10:52:54 +0000 (18:52 +0800)] 
make unit test stable (#1805)

4 years agoFix bug in InternalThreadLocal and provides unit test (#1803)
时无两丶 [Tue, 15 May 2018 09:42:52 +0000 (17:42 +0800)] 
Fix bug in InternalThreadLocal and provides unit test (#1803)

* SerializerFactory 获取Serializer时,锁住整个hashmap,导致整个过程被block

* 单元测试。保证一个class只有一个serializer和deserializer。单线程和多线程测试

* 增加线程数 50 模拟多个线程来获取serializer和deserializer

* 当cores线程数全都使用的情况下,默认线程池会把任务放入到队列中。队列满则再创建线程(总数不会超过Max线程数)
增强线程池:在请求量阶段性出现高峰时使用
特性:cores线程全部使用的情况下,优先创建线程(总数不会超过max),当max个线程全都在忙的情况下,才将任务放入队列。请求量下降时,线程池会自动维持cores个线程,多余的线程退出。

* 当cores线程数全都使用的情况下,默认线程池会把任务放入到队列中。队列满则再创建线程(总数不会超过Max线程数)
增强线程池:在请求量阶段性出现高峰时使用
特性:cores线程全部使用的情况下,优先创建线程(总数不会超过max),当max个线程全都在忙的情况下,才将任务放入队列。请求量下降时,线程池会自动维持cores个线程,多余的线程退出。

* 补全单元测试,测试扩展是否生效

* 错误命名

* 增加@Override注解
long 初始化赋值时,小写l改为大写L防止误读

* 修复单元测试

* remove enhanced

* remove enhanced

* Faster ThreadLocal impl in internal use
* Used in RpcContext`s LOCAL field.
* Faster get than the traditional ThreadLocal

* add License

* fix ci failed

* fix ci failed

* fix ci failed

* fix ci failed

* fix ci failed

* remove author info

* fix destroy method

* fix bug at method size.

* Unit test for InternalThreadLocal

* Unit test for InternalThreadLocal
Fix bug in method removeAll

4 years agoThread pool unit test (#1802)
Ian Luo [Tue, 15 May 2018 07:20:32 +0000 (15:20 +0800)] 
Thread pool unit test (#1802)

* reformat the code, and move the test into the correct package

* unit test for c.a.d.c.threadpool

4 years agounit test for SimpleDataStore (#1797)
Ian Luo [Tue, 15 May 2018 05:33:52 +0000 (13:33 +0800)] 
unit test for SimpleDataStore (#1797)

4 years agoNew threadLocal provides more performance. (#1745)
时无两丶 [Tue, 15 May 2018 02:08:45 +0000 (10:08 +0800)] 
New threadLocal provides more performance. (#1745)

* SerializerFactory 获取Serializer时,锁住整个hashmap,导致整个过程被block

* 单元测试。保证一个class只有一个serializer和deserializer。单线程和多线程测试

* 增加线程数 50 模拟多个线程来获取serializer和deserializer

* 当cores线程数全都使用的情况下,默认线程池会把任务放入到队列中。队列满则再创建线程(总数不会超过Max线程数)
增强线程池:在请求量阶段性出现高峰时使用
特性:cores线程全部使用的情况下,优先创建线程(总数不会超过max),当max个线程全都在忙的情况下,才将任务放入队列。请求量下降时,线程池会自动维持cores个线程,多余的线程退出。

* 当cores线程数全都使用的情况下,默认线程池会把任务放入到队列中。队列满则再创建线程(总数不会超过Max线程数)
增强线程池:在请求量阶段性出现高峰时使用
特性:cores线程全部使用的情况下,优先创建线程(总数不会超过max),当max个线程全都在忙的情况下,才将任务放入队列。请求量下降时,线程池会自动维持cores个线程,多余的线程退出。

* 补全单元测试,测试扩展是否生效

* 错误命名

* 增加@Override注解
long 初始化赋值时,小写l改为大写L防止误读

* 修复单元测试

* remove enhanced

* remove enhanced

* Faster ThreadLocal impl in internal use
* Used in RpcContext`s LOCAL field.
* Faster get than the traditional ThreadLocal

* add License

* fix ci failed

* fix ci failed

* fix ci failed

* fix ci failed

* fix ci failed

* remove author info

* fix destroy method

* fix bug at method size.

4 years agounit test for com.alibaba.dubbo.common.status.support (#1796)
Ian Luo [Tue, 15 May 2018 01:59:15 +0000 (09:59 +0800)] 
unit test for com.alibaba.dubbo.common.status.support (#1796)

* unit test for Status

* remove unnecessary 'static'

* unit test for StatusUtils

* unit test for LoadStatusChecker

* reformat the code

* unit test for MemoryStatusChecker

4 years agoExtracting public code to the parent class (#1776)
苏承祥 [Mon, 14 May 2018 08:05:42 +0000 (16:05 +0800)] 
Extracting public code to the parent class (#1776)

* Extracting public code to the parent class

* test

4 years agoclean up: finish unit test for config-api (#1795)
Ian Luo [Mon, 14 May 2018 07:55:55 +0000 (15:55 +0800)] 
clean up: finish unit test for config-api (#1795)

4 years ago[Dubbo-1687]Add unit tests for dubbo-filter-validation module (#1736)
qinnnyul [Mon, 14 May 2018 07:52:25 +0000 (15:52 +0800)] 
[Dubbo-1687]Add unit tests for dubbo-filter-validation module (#1736)

* Add unit tests for dubbo-filter-validation module

* add more jaxb api libs for testing with jdk9, because it does't contain them by default any more

4 years agoadd test for monitor module (#1741)
Huang YunKun [Mon, 14 May 2018 07:48:41 +0000 (15:48 +0800)] 
add test for monitor module (#1741)

4 years agoUpgrade tomcat version to 8.5.31. (#1781)
Huxing Zhang [Mon, 14 May 2018 07:47:35 +0000 (15:47 +0800)] 
Upgrade tomcat version to 8.5.31. (#1781)

4 years agoMerge pull request #1761, add Locale serialize & deserialize support.
nzomkxia [Mon, 14 May 2018 06:06:40 +0000 (14:06 +0800)] 
Merge pull request #1761, add Locale serialize & deserialize support.

Fixed #906

4 years agounit test for ServiceConfig (#1780)
Ian Luo [Mon, 14 May 2018 02:49:08 +0000 (10:49 +0800)] 
unit test for ServiceConfig (#1780)

* unit test for RegistryConfigTest

* unit test for ServiceConfig

* ignore com.alibaba.dubbo.config.ServiceConfigTest.testUnexport to make unit test stable

4 years agoIgnore testStatusChecker since it is unstable and consider removing it later.
Huxing Zhang [Sun, 13 May 2018 00:30:03 +0000 (08:30 +0800)] 
Ignore testStatusChecker since it is unstable and consider removing it later.

4 years agoRemove unnecessary null check.
Huxing Zhang [Sat, 12 May 2018 12:49:49 +0000 (20:49 +0800)] 
Remove unnecessary null check.

4 years agoSuch logic already exists in findAnnotationName (#1750)
JackCaptain1015 [Sat, 12 May 2018 12:48:17 +0000 (20:48 +0800)] 
Such logic already exists in findAnnotationName (#1750)

4 years agoRemove unnecessary null check. (#1764)
liaozan [Sat, 12 May 2018 12:44:10 +0000 (20:44 +0800)] 
Remove unnecessary null check. (#1764)

4 years agoRemove unecessary cast.
Huxing Zhang [Sat, 12 May 2018 12:35:49 +0000 (20:35 +0800)] 
Remove unecessary cast.

4 years agoFix hessian-lite spelling mistake (#1779)
Jerrick Zhu [Fri, 11 May 2018 09:09:02 +0000 (17:09 +0800)] 
Fix hessian-lite spelling mistake (#1779)

4 years agounit test for RegistryConfigTest (#1775)
Ian Luo [Thu, 10 May 2018 14:05:03 +0000 (22:05 +0800)] 
unit test for RegistryConfigTest (#1775)

4 years agoMerge pull request #1616, fix hessian1 serialized short, byte is converted to int.
yì jí [Thu, 10 May 2018 09:47:47 +0000 (17:47 +0800)] 
Merge pull request #1616, fix hessian1 serialized short, byte is converted to int.

4 years agoenable tcp no delay for netty 3 server (#1746)
Jason Song [Wed, 9 May 2018 10:50:52 +0000 (18:50 +0800)] 
enable tcp no delay for netty 3 server (#1746)

(cherry picked from commit 430fb4c)

4 years agoConfig api unit test (#1758)
Ian Luo [Wed, 9 May 2018 09:53:16 +0000 (17:53 +0800)] 
Config api unit test (#1758)

* unit test for ApplicationConfig

* fix typo

* unit test for ArgumentConfig

* unit test for ConsumerConfig

* unit test for MethodConfig

* unit test for ModuleConfig

* unit test for MonitorConfig

* unit test for ProtocolConfig

* unit test for ApplicationConfig

* fix typo

* unit test for ArgumentConfig

* unit test for ConsumerConfig

* unit test for MethodConfig

* unit test for ModuleConfig

* unit test for MonitorConfig

* unit test for ProtocolConfig

* unit test for ProviderConfig

* make test stable

4 years agoRemove unnecessary null check and fix typo.
Huxing Zhang [Wed, 9 May 2018 07:15:01 +0000 (15:15 +0800)] 
Remove unnecessary null check and fix typo.

4 years agoRemove unnecessary null check.
Huxing Zhang [Wed, 9 May 2018 07:08:07 +0000 (15:08 +0800)] 
Remove unnecessary null check.

4 years agoRemove redundant array creation.
Huxing Zhang [Wed, 9 May 2018 07:06:45 +0000 (15:06 +0800)] 
Remove redundant array creation.

4 years agoRemove unnecessary null check.
Huxing Zhang [Wed, 9 May 2018 07:01:54 +0000 (15:01 +0800)] 
Remove unnecessary null check.

4 years agoRemove redundant final modifier.
Huxing Zhang [Wed, 9 May 2018 07:00:50 +0000 (15:00 +0800)] 
Remove redundant final modifier.

4 years agoRemove unnecessary null check.
Huxing Zhang [Wed, 9 May 2018 06:57:45 +0000 (14:57 +0800)] 
Remove unnecessary null check.

4 years agoFix #934 #1756 use loadBalance policy to choose invoke when providers less 2 (#1759)
Jerrick Zhu [Wed, 9 May 2018 06:50:16 +0000 (14:50 +0800)] 
Fix #934 #1756 use loadBalance policy to choose invoke when providers less 2 (#1759)

* fix #934 use loadBalance policy to choose invoke when providers less than 2
* fix #1756, clear mock invocation after invoking

4 years agoBump version to 2.6.2-SNAPSHOT.
Huxing Zhang [Wed, 9 May 2018 06:44:08 +0000 (14:44 +0800)] 
Bump version to 2.6.2-SNAPSHOT.

4 years agoFix isShutdown() always return true (#1426)
ma-xiao-guang-64 [Wed, 9 May 2018 03:00:32 +0000 (11:00 +0800)] 
Fix isShutdown() always return true (#1426)

4 years agounit test for dubbo-config-api (#1733)
Ian Luo [Fri, 4 May 2018 05:32:34 +0000 (13:32 +0800)] 
unit test for dubbo-config-api (#1733)

* finish unit test for AbstractMethodConfig

* finish unit test for AbstractReferenceConfig

* move to right package

* finish unit test for AbstractReferenceConfig

* finish unit test for AbstractMethodConfig

* finish unit test for AbstractReferenceConfig

* move to right package

* finish unit test for AbstractReferenceConfig

* unit test for AbstractServiceConfig, also fix logic issue in setListener/getListener

4 years ago #1731: checkMultiExtension in com.alibaba.dubbo.config.AbstractInterfaceConfig...
Ian Luo [Fri, 4 May 2018 02:53:03 +0000 (10:53 +0800)] 
#1731: checkMultiExtension in com.alibaba.dubbo.config.AbstractInterfaceConfig should be in setter instead of getter (#1732)

4 years agofix * imports issue (#1721)
Huang YunKun [Thu, 3 May 2018 08:26:42 +0000 (16:26 +0800)] 
fix * imports issue (#1721)

4 years agooptimize unit test for serialization hession2/jdk/kryo (#1726)
Jerrick Zhu [Thu, 3 May 2018 08:26:12 +0000 (16:26 +0800)] 
optimize unit test for serialization hession2/jdk/kryo (#1726)

4 years ago[Dubbo-1687]Enhance test coverage for dubbo filter (#1715)
qinnnyul [Thu, 3 May 2018 08:23:08 +0000 (16:23 +0800)] 
[Dubbo-1687]Enhance test coverage for dubbo filter (#1715)

* use three different kinds of cache factory to increase test coverages

* add unit test cases for dubbo-filter module

* add copyright and made small refactor

* make sure Jcache will exceed expired period

4 years agoMerge pull request #1717, NettyHelper in netty extension populated Logger "InternalLo...
Ian Luo [Thu, 3 May 2018 07:07:34 +0000 (15:07 +0800)] 
Merge pull request #1717, NettyHelper in netty extension populated Logger "InternalLogger" in netty.

4 years agoadd test for serialization api & fastjson & fst module (#1718)
Huang YunKun [Thu, 3 May 2018 05:52:08 +0000 (13:52 +0800)] 
add test for serialization api & fastjson & fst module (#1718)

4 years agoMerge pull request #1716, unit test for AbstractConfigTest.
Ian Luo [Thu, 3 May 2018 05:45:53 +0000 (13:45 +0800)] 
Merge pull request #1716, unit test for AbstractConfigTest.

4 years agoenhance comments, javadoc and logging message for (#1722)
Ian Luo [Wed, 2 May 2018 06:26:39 +0000 (14:26 +0800)] 
enhance comments, javadoc and logging message for (#1722)

ExecutionChannelHandler

4 years agofixes #1089, make ExecutionDispatcher meet dubbo-user-book (#1449)
qct [Mon, 30 Apr 2018 10:01:16 +0000 (18:01 +0800)] 
fixes #1089, make ExecutionDispatcher meet dubbo-user-book (#1449)

* fixes #1089, make ExecutionDispatcher meets dubbo-user-book

* remove heartbeat condition

4 years agoOptimize_hessian_desr_performance (#1705)
whanice [Thu, 26 Apr 2018 10:51:02 +0000 (18:51 +0800)] 
Optimize_hessian_desr_performance (#1705)

4 years agoAdd pull request coverage check and set threshold as 0.1% (#1678)
Huang YunKun [Thu, 26 Apr 2018 07:07:29 +0000 (15:07 +0800)] 
Add pull request coverage check and set threshold as 0.1% (#1678)

4 years agoFix pull request template typo
yì jí [Thu, 26 Apr 2018 07:04:34 +0000 (15:04 +0800)] 
Fix pull request template typo

4 years agoupdate NOTICE (#1703)
Ian Luo [Thu, 26 Apr 2018 07:02:31 +0000 (15:02 +0800)] 
update NOTICE (#1703)

4 years agouse mockito to replace easymock (#1676)
Huang YunKun [Thu, 26 Apr 2018 06:50:30 +0000 (14:50 +0800)] 
use mockito to replace easymock (#1676)

4 years agoMerge pull request #1672, improve LICENSE and NOTICE according to ASF policy.
Huxing Zhang [Thu, 26 Apr 2018 06:12:33 +0000 (14:12 +0800)] 
Merge pull request #1672, improve LICENSE and NOTICE according to ASF policy.

4 years agoMerge pull request #1444, simplify check consumer side in RpcContext.
whanice [Tue, 24 Apr 2018 07:31:00 +0000 (15:31 +0800)] 
Merge pull request #1444, simplify check consumer side in RpcContext.

4 years agoMerge pull request #1620, fix exception stack trace during provider demo start.
Huxing Zhang [Tue, 24 Apr 2018 07:26:57 +0000 (15:26 +0800)] 
Merge pull request #1620, fix exception stack trace during provider demo start.

4 years agoMerge pull request #1607, graceful shutdown enhancement.
yì jí [Tue, 24 Apr 2018 06:00:32 +0000 (14:00 +0800)] 
Merge pull request #1607, graceful shutdown enhancement.

- Remove exporter destroy logic in AnnotationBean.
- Waiting for registry notification on consumer side by checking channel state.

4 years agoMerge pull request #1663, add version&group to @Service annotation bean name.
小马哥 [Tue, 24 Apr 2018 02:21:04 +0000 (10:21 +0800)] 
Merge pull request #1663, add version&group to @Service annotation bean name.

4 years agoSpring Framework / Spring Boot Enhancements (#1611)
小马哥 [Mon, 23 Apr 2018 04:19:33 +0000 (12:19 +0800)] 
Spring Framework / Spring Boot Enhancements (#1611)

* Manually merge pull request #1486, to make travis ci and codecov work after apache incubator transition.

* Polish alibaba/dubbo#1306

* Optimize imports

* Optimize imports

* Update DubboConfigBinder.java

Remove invalid JavaDoc

4 years ago[DUBBO-9]add apache-rat-plugin to check asf license header (#1647)
Xin Wang [Mon, 23 Apr 2018 03:28:22 +0000 (11:28 +0800)] 
[DUBBO-9]add apache-rat-plugin to check asf license header (#1647)

* [DUBBO-9]add apache-rat-plugin to check asf license header
* reformat EagerThreadPoolExecutorTest.java
* remove the asf header check of checkstyle plugin

4 years agoMethod extraction & Unnecessary code remove & Typo fix (#1646)
Junjian Peng [Sat, 21 Apr 2018 07:06:51 +0000 (15:06 +0800)] 
Method extraction & Unnecessary code remove & Typo fix (#1646)

4 years agoChange monitor log level (#1443)
业余布道师 [Sat, 21 Apr 2018 06:27:15 +0000 (14:27 +0800)] 
Change monitor log level (#1443)

4 years agoMinor improvement on test cases: (#1507)
Lei Jiang [Sat, 21 Apr 2018 06:25:06 +0000 (14:25 +0800)] 
Minor improvement on test cases: (#1507)

1. Use org.junit.Assert instead of junit.framework.Assert(@Deprecated since Junit 4)
2. Use assertTrue and other assert methods through static import to make codes easier to read

4 years agoAdd missing @Override to classes (#1553)
leyou240 [Sat, 21 Apr 2018 06:20:09 +0000 (14:20 +0800)] 
Add missing @Override to classes (#1553)

4 years agoAdd test for registry modules (#1584)
Huang YunKun [Sat, 21 Apr 2018 06:10:07 +0000 (14:10 +0800)] 
Add test for registry modules (#1584)

4 years ago[Dubbo-Config] replace by Constants. (#1612)
Mr.bearDream [Sat, 21 Apr 2018 06:08:03 +0000 (14:08 +0800)] 
[Dubbo-Config] replace by Constants. (#1612)

* replace var by constants.
* it is protocolRuntimeBeanReferences rather than registryRuntimeBeanReferences

4 years agoExclude dubbo-demo when calc coverage (#1561)
Huang YunKun [Sat, 21 Apr 2018 05:50:22 +0000 (13:50 +0800)] 
Exclude dubbo-demo when calc coverage (#1561)

4 years agoUpdate xml namespace and schema location #1629 (#1633)
Huxing Zhang [Fri, 20 Apr 2018 08:02:34 +0000 (16:02 +0800)] 
Update xml namespace and schema location #1629 (#1633)

Fine

4 years agoPolish pull request template.
ralf0131 [Wed, 18 Apr 2018 09:00:05 +0000 (17:00 +0800)] 
Polish pull request template.

4 years agoFix typo.
ralf0131 [Tue, 17 Apr 2018 09:08:13 +0000 (17:08 +0800)] 
Fix typo.

4 years agoAdd link to Wiki.
ralf0131 [Mon, 16 Apr 2018 01:54:13 +0000 (09:54 +0800)] 
Add link to Wiki.

4 years agoUpgrade spring version. (#1595)
Huxing Zhang [Sat, 14 Apr 2018 07:08:50 +0000 (15:08 +0800)] 
Upgrade spring version. (#1595)

4 years agoFix #1539, change log method (#1578)
Jerrick Zhu [Tue, 10 Apr 2018 08:23:27 +0000 (16:23 +0800)] 
Fix #1539, change log method (#1578)

4 years agoUse jacoco instead of cobertura for coverage rate collectiong (#1575)
Huang YunKun [Tue, 10 Apr 2018 03:47:50 +0000 (11:47 +0800)] 
Use jacoco instead of cobertura for coverage rate collectiong (#1575)

4 years ago1. dubbo monitor parameters add group and version (#1407)
Young Hu [Tue, 10 Apr 2018 02:37:25 +0000 (10:37 +0800)] 
1. dubbo monitor parameters add group and version (#1407)

2. monitor interval can be override by outside setting

4 years agoExtension: Eager Thread Pool (#1568)
时无两丶 [Mon, 9 Apr 2018 14:55:56 +0000 (22:55 +0800)] 
Extension: Eager Thread Pool (#1568)

* Extension: Enhanced Thread Pool
A thread pool that can provide faster processing speeds when there are more tasks (of course it consumes more resources)
* When the number of tasks exceeds the core size, a new thread is first started to execute the task instead of putting it into the queue.
* When the number of tasks is lower than the core size for a long time, the core size threads are maintained and redundant threads are recycled.
* Compared to the fixed pool:When there are more tasks, provide more workers to handle the tasks.
* Compared to the cached pool:The task queue in the cached pool is actually a SynchronousQueue and does not have the ability to cache tasks.
* Whether to fail fail or put into a queue when a thread runs out:Both are feasible and need to consider which way should be applied according to the business scenario. Delayed scenarios are not allowed. Failfast is more reasonable than queues. However, if there is a certain tolerance for delays, queues are more reasonable than failfast.

* remove * in import

* add license to fix ci failure

* rename the thread pool to EagerThreadPool
modify sth with the code review
format the code file

* remove '*' in import statement

* throw NullPointerException if the param is null.

* throw NullPointerException if the param is null.

* catch throwable and decrease submitted task count anyway

4 years agoremove the method with the same function but the different name in NetUtils (#1572)
时无两丶 [Mon, 9 Apr 2018 11:33:32 +0000 (19:33 +0800)] 
remove the method with the same function but the different name in NetUtils (#1572)