DigitalSonic
8c57759eaa
PoolUpdater can set Schedule Period now
2020-01-28 20:14:16 +08:00
DigitalSonic
cff870e80e
Refactor Pool creation logic
...
1. Refactor the create logic to use NodeListener instead of DataSourceCreator.createMap
2. Add destroy methods to NodeListener and PoolUpdater
3. Add a lock to prevent Node update concurrently
2020-01-22 18:46:20 +08:00
DigitalSonic
e03511cdaa
rename the NodeEventType to NodeEventTypeEnum
2020-01-22 16:51:16 +08:00
DigitalSonic
82adaad442
add NodeListener mechanism
2020-01-22 16:48:16 +08:00
DigitalSonic
75a094c41e
add a blacklist in HighAvailableDataSource
...
Filter the DataSourceMap with the blacklist before returning
2020-01-21 14:58:19 +08:00
DigitalSonic
4f45e7f8dc
add Testcases
2019-11-05 18:01:08 +08:00
高铁
52e3b36c5f
remove proxool testcase
2019-09-22 21:11:14 +08:00
DigitalSonic
c1e73f2fa9
Optimize the logic in HA Validation.
2019-02-25 14:49:45 +08:00
DigitalSonic
f681871e49
RandomDataSourceSelector can load some parameters from Properties now
2019-02-02 18:30:56 +08:00
DigitalSonic
dfcc16107a
fix failed testcase
2019-02-02 16:46:32 +08:00
DigitalSonic
851eb96673
slightly modify
...
Use ConcurrentHashMap instead of HashMap in RandomDataSourceValidateThread.
Add some Log in StickyRandomDataSourceSelector.
Add some test cases for StickyRandomDataSourceSelect.
2019-02-02 16:12:23 +08:00
DigitalSonic
b6c90db170
Enhance RandomDataSourceSelector
...
1. shorten the checking interval when validate failed
2. provide some parameters in higher level
3. add a sleep before validation (default 0)
4. validate the DataSource concurrently
2019-02-01 18:21:16 +08:00
DigitalSonic
65fafdb67a
add a special prefix into ha-datasource properties file
...
In order to put HA Datasource properties and other properties altogether into one properties file, HighAvailableDataSource add a new field named propertyPrefix.
2018-12-13 00:15:47 +08:00
DigitalSonic
f355d62981
split the getter/setter for selector
...
Some old versions of Spring Framework would check the getter/setter of
a bean property. While they were not the same type, exception would be
thrown.
So selector’s getter&setter are all String now.
2018-08-05 23:42:59 +08:00
DigitalSonic
ed3861395c
Add a HA DataSource implementation
2018-05-05 23:23:46 +08:00
wenshao
0c76892937
JdbcUtils support clickhouse. for issue #2294
2018-02-04 16:26:21 +08:00
wenshao
820d0a2e1a
removed unused code.
2017-06-13 19:10:25 +08:00
wenshao
3b2acf03bc
DruidDataSource support killWhenSocketReadTimeout
2017-06-13 19:04:49 +08:00
wenshao
c3db40c748
fixed copyright info. 2101 -> 2017
2017-03-14 21:18:18 +08:00
DigitalSonic
463ffc49a2
add test case
...
add a test case for DruidPooledConnection.closePoolableStatement()
method
2017-02-25 00:24:04 +08:00
haocao
75eef991a8
Add test cases and removed useless import.
2016-09-12 20:50:12 +08:00
wenshao
4838786d6a
add mysql-driver 6.0.x support
2016-08-07 11:37:02 +08:00
wenshao
2619534713
fixed testcase
2016-08-05 22:32:02 +08:00
wenshao
1f48919743
support mysql_driver_6.0.x
2016-08-05 22:30:31 +08:00
高铁
352a7ca08b
improved sql parser
2016-05-19 01:06:49 +08:00
高铁
a0214cce74
fixed java doc error
2016-02-16 15:24:39 +08:00
高铁
887d538a91
bug fixed for pg sql parser
2015-09-12 22:52:45 +08:00
高铁
883b1fbc64
fixed copyright
2015-08-16 23:45:03 +08:00
wenshao
3d78e79d51
xxx
2014-09-09 21:23:46 +08:00
wenshao
4ca437c63b
'a.b.c.d';
2014-09-09 21:16:18 +08:00
wenshao
65a963f88f
improve sql parser & improve GetConnecitonTimeout error message
2013-08-07 19:25:55 +08:00
wenshao
93034c6d9b
add testcase
2013-08-05 22:55:23 +08:00
wenshao
32b47c9012
fixed testcase, use org.junit.Assert
2013-08-03 16:08:46 +08:00
wenshao
ac7bb45366
improve oracle sql parser & sql-wall
2013-08-03 02:20:21 +08:00
wenshao
fb18557438
oracle 12c support
2013-08-03 00:33:23 +08:00
wenshao
29ab2b98ed
DruidDataSource support mbean register & unregister
2013-06-27 23:41:04 +08:00
wenshao
d27e97f126
support reset filters
2013-06-14 15:52:47 +08:00
wenshao
0cf04d27f1
improve wall filter
2013-05-09 22:56:46 +08:00
wenshao
9c538e9582
improve sql parser
2013-04-18 11:37:11 +08:00
wenshao
eddb42ae53
improve wall filter
2013-04-11 15:38:13 +08:00
wenshao
8c0ef8d69d
add testcase
2012-12-23 19:41:19 +08:00
wenshao
79827f37e2
sql parser support with subquery, orginaize testcase code imports
2012-12-06 14:24:02 +08:00
wenshao
d18f32dd12
remove ha
2012-11-26 19:51:26 +08:00
wenshao
6a9ff38984
monitor support
2012-10-17 10:19:32 +08:00
wenshao
445bd9dd5b
fixed encoding
2012-08-24 22:43:50 +08:00
Zhanming Qi
e575190fc6
add license description.
2012-08-24 14:28:36 +08:00
wenshao
7cea73b2c1
remove fastjson dependency
2012-08-21 15:46:10 +08:00
wenshao
f02d750460
add testcase
2012-08-11 21:04:30 +08:00
温少
c97a268052
change version & test
2012-03-20 12:27:32 +08:00
温少
bf98dcad6c
bug fixed
2012-03-20 09:23:49 +08:00