[jira] [Comment Edited] (DBCP-586) BasicDataSource should support GenericObjectPool->getStatsString()

2022-09-25 Thread Gary D. Gregory (Jira)


[ 
https://issues.apache.org/jira/browse/DBCP-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17608901#comment-17608901
 ] 

Gary D. Gregory edited comment on DBCP-586 at 9/25/22 12:54 PM:


-FTR to be made public:-
 * -org.apache.commons.pool2.impl.BaseGenericObjectPool.getStatsString()-
 * -org.apache.commons.pool2.impl.GenericKeyedObjectPool.getStatsString()-
 * -org.apache.commons.pool2.impl.GenericObjectPool.getStatsString()-

 


was (Author: garydgregory):
FTR to be made public:
 * org.apache.commons.pool2.impl.BaseGenericObjectPool.getStatsString()
 * org.apache.commons.pool2.impl.GenericKeyedObjectPool.getStatsString()
 * org.apache.commons.pool2.impl.GenericObjectPool.getStatsString()

 

> BasicDataSource should support GenericObjectPool->getStatsString()
> --
>
> Key: DBCP-586
> URL: https://issues.apache.org/jira/browse/DBCP-586
> Project: Commons DBCP
>  Issue Type: Improvement
>Affects Versions: 2.9.0
>Reporter: Thomas Freller
>Priority: Major
>  Labels: improvement
> Fix For: 2.10.0
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Hello,
> I'm developing a Application that is running on a default JRE without an 
> Webserver/JMX.
> For optimizing Database connections it would be very useful if i could access
>  
> BasicDataSource->GenericObjectPool->{*}getStatsString(){*}
>  
> I don't see any reason why this Method is protected and not public in 
> GenericObjectPool.
> Then BasicDataSource shoud provide a method getStatsString() or the values 
> that represent the statistic data.
>  
> If there is any other easy way to access this data within my Java Code I'll 
> implement this if you could give me an example how to get this working 
> easily. I don't want do configure any jmx stuff.
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Comment Edited] (DBCP-586) BasicDataSource should support GenericObjectPool->getStatsString()

2022-09-24 Thread Gary D. Gregory (Jira)


[ 
https://issues.apache.org/jira/browse/DBCP-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17609011#comment-17609011
 ] 

Gary D. Gregory edited comment on DBCP-586 at 9/24/22 3:19 PM:
---

Hm, ok, then BasicDataSource.getConnectionPool() could be made public from 
protected, then you can say BasicDataSource.getConnectionPool().toString().


was (Author: garydgregory):
Hm, ok, then BasicDataSource.getConnectionPool() could be made public from 
protected.

> BasicDataSource should support GenericObjectPool->getStatsString()
> --
>
> Key: DBCP-586
> URL: https://issues.apache.org/jira/browse/DBCP-586
> Project: Commons DBCP
>  Issue Type: Improvement
>Affects Versions: 2.9.0
>Reporter: Thomas Freller
>Priority: Major
>  Labels: improvement
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Hello,
> I'm developing a Application that is running on a default JRE without an 
> Webserver/JMX.
> For optimizing Database connections it would be very useful if i could access
>  
> BasicDataSource->GenericObjectPool->{*}getStatsString(){*}
>  
> I don't see any reason why this Method is protected and not public in 
> GenericObjectPool.
> Then BasicDataSource shoud provide a method getStatsString() or the values 
> that represent the statistic data.
>  
> If there is any other easy way to access this data within my Java Code I'll 
> implement this if you could give me an example how to get this working 
> easily. I don't want do configure any jmx stuff.
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Comment Edited] (DBCP-586) BasicDataSource should support GenericObjectPool->getStatsString()

2022-09-24 Thread Gary D. Gregory (Jira)


[ 
https://issues.apache.org/jira/browse/DBCP-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17609011#comment-17609011
 ] 

Gary D. Gregory edited comment on DBCP-586 at 9/24/22 3:18 PM:
---

Hm, ok, then BasicDataSource.getConnectionPool() could be made public from 
protected.


was (Author: garydgregory):
Hm, ok, then BasicDataSource.getConnectionPool() could be made public.

> BasicDataSource should support GenericObjectPool->getStatsString()
> --
>
> Key: DBCP-586
> URL: https://issues.apache.org/jira/browse/DBCP-586
> Project: Commons DBCP
>  Issue Type: Improvement
>Affects Versions: 2.9.0
>Reporter: Thomas Freller
>Priority: Major
>  Labels: improvement
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Hello,
> I'm developing a Application that is running on a default JRE without an 
> Webserver/JMX.
> For optimizing Database connections it would be very useful if i could access
>  
> BasicDataSource->GenericObjectPool->{*}getStatsString(){*}
>  
> I don't see any reason why this Method is protected and not public in 
> GenericObjectPool.
> Then BasicDataSource shoud provide a method getStatsString() or the values 
> that represent the statistic data.
>  
> If there is any other easy way to access this data within my Java Code I'll 
> implement this if you could give me an example how to get this working 
> easily. I don't want do configure any jmx stuff.
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)