-
1. Re: TODO: Improve management
spiritualmechanic Apr 21, 2004 12:29 PM (in response to adrian.brock)Which properties do you think would be most useful. Would it be one big fat MBean, or several smaller ones?
-
2. Re: TODO: Improve management
adrian.brock Apr 21, 2004 12:41 PM (in response to adrian.brock)One example would be showing sql query time statistics from the jdbc rar.
I don't like FAT interfaces. You can make FAT interfaces from smaller ones. -
3. Re: TODO: Improve management
spiritualmechanic Apr 21, 2004 1:54 PM (in response to adrian.brock)LOL I agree on the FAT interfaces. I just had to ask :D
Okay, so the sql stats would be a JDBC-specific MBean (probably under . I'll start thinking about this and suggesting adequate name(s) for it. -
4. Re: TODO: Improve management
spiritualmechanic Apr 21, 2004 1:58 PM (in response to adrian.brock)package name
org.jboss.resource.adapter.jdbc.perf
or something like that? -
5. Re: TODO: Improve management
adrian.brock Apr 22, 2004 8:25 AM (in response to adrian.brock)org.jboss.resource.adapter.jdbc.management
-
6. Re: TODO: Improve management
spiritualmechanic May 23, 2004 9:00 AM (in response to adrian.brock)Adrian,
I'm going to probably need to plug into the timer stuff to do monitoring of SQL executions. Should I look at the timer stuff first?
Is there timer stuff in jbosscx project? I searched but I don't see createTimer, so maybe it's in common. I'll do some more searching. -
7. Re: TODO: Improve management
adrian.brock May 23, 2004 10:55 AM (in response to adrian.brock)Alex has already done this with a wrapper DataSource, although it should
really be in an interceptor.
http://www.jboss.org/wiki/Wiki.jsp?page=StatisticsCollector -
8. Re: TODO: Improve management
adrian.brock Dec 14, 2004 5:28 PM (in response to adrian.brock)JIRA Task: http://jira.jboss.com/jira/browse/JBJCA-4
-
9. Re: TODO: Improve management
vickyk Feb 6, 2008 8:29 AM (in response to adrian.brock)I have been looking at this section
2) Better visibility of the Pool(s)
I am analyzing these features
1) wait times when request are waiting on an empty pool.
2) Idle time of unused connections.
3) Max waiting time to get the connection from the pool.
I see this code at InternalManagedConnection::getConnection(Subject ...,Cri ....)
long startWait = System.currentTimeMillis(); try { connectionCounter.updateBlockTime(System.currentTimeMillis() - startWait); if (permits.attempt(poolParams.blockingTimeout)) { //We have a permit to get a connection. Is there one in the pool already?
The connectionCounter.updateBlockTime(System.currentTimeMillis() - startWait); should be inside the permit.attempt(...) .