|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.core.connectionmanager.pool.PoolStatisticsImpl
public class PoolStatisticsImpl

Sub pool statistics.
| Constructor Summary | |
|---|---|
PoolStatisticsImpl(int maxPoolSize,
ConcurrentMap<Object,ManagedConnectionPool> mcpPools)
Constructor |
|
| Method Summary | |
|---|---|
void |
clear()
|
int |
getActiveCount()
|
int |
getAvailableCount()
|
long |
getAverageBlockingTime()
|
long |
getAverageCreationTime()
|
int |
getCreatedCount()
|
String |
getDescription(String name)
|
String |
getDescription(String name,
Locale locale)
|
int |
getDestroyedCount()
|
long |
getMaxCreationTime()
|
int |
getMaxUsedCount()
Get max used count |
int |
getMaxWaitCount()
Get max wait count |
long |
getMaxWaitTime()
|
Set<String> |
getNames()
|
int |
getTimedOut()
|
long |
getTotalBlockingTime()
|
long |
getTotalCreationTime()
|
Class |
getType(String name)
|
Object |
getValue(String name)
|
boolean |
isEnabled()
|
void |
setEnabled(boolean v)
|
String |
toString()
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PoolStatisticsImpl(int maxPoolSize,
ConcurrentMap<Object,ManagedConnectionPool> mcpPools)
maxPoolSize - The maximum pool sizemcpPools - The pool map| Method Detail |
|---|
public Set<String> getNames()
getNames in interface org.jboss.jca.core.spi.statistics.StatisticsPluginpublic Class getType(String name)
getType in interface org.jboss.jca.core.spi.statistics.StatisticsPluginpublic String getDescription(String name)
getDescription in interface org.jboss.jca.core.spi.statistics.StatisticsPlugin
public String getDescription(String name,
Locale locale)
getDescription in interface org.jboss.jca.core.spi.statistics.StatisticsPluginpublic Object getValue(String name)
getValue in interface org.jboss.jca.core.spi.statistics.StatisticsPluginpublic boolean isEnabled()
isEnabled in interface org.jboss.jca.core.spi.statistics.StatisticsPluginpublic void setEnabled(boolean v)
setEnabled in interface org.jboss.jca.core.spi.statistics.StatisticsPluginpublic int getActiveCount()
getActiveCount in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic int getAvailableCount()
getAvailableCount in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic long getAverageBlockingTime()
getAverageBlockingTime in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic long getAverageCreationTime()
getAverageCreationTime in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic int getCreatedCount()
getCreatedCount in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic int getDestroyedCount()
getDestroyedCount in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic long getMaxCreationTime()
getMaxCreationTime in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic int getMaxUsedCount()
getMaxUsedCount in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic int getMaxWaitCount()
getMaxWaitCount in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic long getMaxWaitTime()
getMaxWaitTime in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic int getTimedOut()
getTimedOut in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic long getTotalBlockingTime()
getTotalBlockingTime in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic long getTotalCreationTime()
getTotalCreationTime in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic void clear()
clear in interface org.jboss.jca.core.spi.statistics.StatisticsPluginpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||