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

Core statistics.
| Constructor Summary | |
|---|---|
ManagedConnectionPoolStatisticsImpl(int maxPoolSize)
Constructor |
|
| Method Summary | |
|---|---|
void |
clear()
|
void |
deltaCreatedCount()
Delta the created count value |
void |
deltaDestroyedCount()
Delta the destroyed count value |
void |
deltaTimedOut()
Delta the timed out value |
void |
deltaTotalBlockingTime(long delta)
Add delta to total blocking timeout |
void |
deltaTotalCreationTime(long delta)
Add delta to total creation time |
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)
|
void |
setInUsedCount(int v)
Set in used count |
void |
setMaxUsedCount(int v)
Set max used count |
void |
setMaxWaitCount(int v)
Set max wait count |
String |
toString()
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ManagedConnectionPoolStatisticsImpl(int maxPoolSize)
maxPoolSize - The maximum pool size| 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 void deltaCreatedCount()
public int getDestroyedCount()
getDestroyedCount in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic void deltaDestroyedCount()
public int getMaxUsedCount()
getMaxUsedCount in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic void setInUsedCount(int v)
v - The valuepublic void setMaxUsedCount(int v)
v - The valuepublic int getMaxWaitCount()
getMaxWaitCount in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic void setMaxWaitCount(int v)
v - The valuepublic long getMaxCreationTime()
getMaxCreationTime 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 void deltaTimedOut()
public long getTotalBlockingTime()
getTotalBlockingTime in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic void deltaTotalBlockingTime(long delta)
delta - The valuepublic long getTotalCreationTime()
getTotalCreationTime in interface org.jboss.jca.core.api.connectionmanager.pool.PoolStatisticspublic void deltaTotalCreationTime(long delta)
delta - The valuepublic 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 | |||||||||