[root]/src/au/com/whitesquare/dcaf/persistence/pool

| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| steve | 37 (100.0%) | 3874 (100.0%) | 104.7 |
Updated DCAF to test the database connection on init, and if it fails throws a "SystemNotConfiguredException" including the cause that can be inspected.
40 lines of code changed in:
Updated DCAF to only set the AutoCommit on freeing a connection if it is not closed.
13 lines of code changed in:
Turned off NullConnection until the JDK settles down and "Connection" does not change.
8 lines of code changed in:
Updated the ConnectionBrokerCleaner Thread to be a daemon thread.
6 lines of code changed in:
Added function to get MaxSize of connection pool, and renamed getSize() to getCurrentSize() as a more accurate description.
47 lines of code changed in:
Added new feature to enable adding of listeners to all DCAF events for logging or performance purpose's.
1104 lines of code changed in:
Fixed bug where waking the thread just killed it, didn't free up connections.
6 lines of code changed in:
Reverted Connection methods to the 1.5 version of jdbc.
3 lines of code changed in:
Added missing methods to updates SQLConnection interface.
103 lines of code changed in:
Added functions to get the state of connections in the pool from the broker.
353 lines of code changed in:
Added concurency fix where database connections were locking when in use
which in turn locked any other thread trying to get a connection from the pool.
The getConnection() method now ignores any connection not in the pool and skips
to the next available connection to check for allocation.
748 lines of code changed in:
Added logic to enable each Transaction to set the timeout that will return the connection to the pool. This function is called setPoolGatherTimeout and is accessable on the Transaction.
66 lines of code changed in:
Created NullConnection and Connection Pool for testing of internals of DCAF.
This should never be used in production as it will throw ConnectionCreation exceptions on the first data access.
415 lines of code changed in:
Updated logging and parameter names.
14 lines of code changed in:
Added debug flag to the connection pool to allow enabling of tracking location of taken connections.
39 lines of code changed in:
Fixed issue where shutdown would fail due to not being the object monitor.
Updated error mails to cut down the number sent.
18 lines of code changed in:
The connection pool is now a shutdown listener.
18 lines of code changed in:
Minor updates to default values and log messages.
14 lines of code changed in:
To remove an issue, the running flag is reset on each init.
7 lines of code changed in:
Added new constructor to support changing default configuration.
57 lines of code changed in:
(1 more)