public class JdbcStatisticsPlugin
extends java.lang.Object
implements org.jboss.jca.core.spi.statistics.StatisticsPlugin
Constructor and Description |
---|
JdbcStatisticsPlugin()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
deltaPreparedStatementCacheAccessCount()
Delta the access count for the prepated statement cache
|
void |
deltaPreparedStatementCacheAddCount()
Delta the add count for the prepated statement cache
|
void |
deltaPreparedStatementCacheDeleteCount()
Delta the delete count for the prepated statement cache
|
void |
deltaPreparedStatementCacheHitCount()
Delta the hit count for the prepated statement cache
|
void |
deltaPreparedStatementCacheMissCount()
Delta the miss count for the prepated statement cache
|
void |
deregisterPreparedStatementCache(PreparedStatementCache v)
Deregister prepared statement cache
|
java.lang.String |
getDescription(java.lang.String name) |
java.lang.String |
getDescription(java.lang.String name,
java.util.Locale locale) |
java.util.Set<java.lang.String> |
getNames() |
long |
getPreparedStatementCacheAccessCount()
Get the access count for the prepated statement cache
|
long |
getPreparedStatementCacheAddCount()
Get the add count for the prepated statement cache
|
int |
getPreparedStatementCacheCurrentSize()
Get the current size for the prepated statement cache
|
long |
getPreparedStatementCacheDeleteCount()
Get the delete count for the prepated statement cache
|
long |
getPreparedStatementCacheHitCount()
Get the hit count for the prepated statement cache
|
long |
getPreparedStatementCacheMissCount()
Get the miss count for the prepated statement cache
|
java.lang.Class |
getType(java.lang.String name) |
java.lang.Object |
getValue(java.lang.String name) |
boolean |
isEnabled() |
void |
registerPreparedStatementCache(PreparedStatementCache v)
Register prepared statement cache
|
void |
setEnabled(boolean v) |
public java.util.Set<java.lang.String> getNames()
getNames
in interface org.jboss.jca.core.spi.statistics.StatisticsPlugin
public java.lang.Class getType(java.lang.String name)
getType
in interface org.jboss.jca.core.spi.statistics.StatisticsPlugin
public java.lang.String getDescription(java.lang.String name)
getDescription
in interface org.jboss.jca.core.spi.statistics.StatisticsPlugin
public java.lang.String getDescription(java.lang.String name, java.util.Locale locale)
getDescription
in interface org.jboss.jca.core.spi.statistics.StatisticsPlugin
public java.lang.Object getValue(java.lang.String name)
getValue
in interface org.jboss.jca.core.spi.statistics.StatisticsPlugin
public boolean isEnabled()
isEnabled
in interface org.jboss.jca.core.spi.statistics.StatisticsPlugin
public void setEnabled(boolean v)
setEnabled
in interface org.jboss.jca.core.spi.statistics.StatisticsPlugin
public void registerPreparedStatementCache(PreparedStatementCache v)
v
- The cachepublic void deregisterPreparedStatementCache(PreparedStatementCache v)
v
- The cachepublic long getPreparedStatementCacheAccessCount()
public void deltaPreparedStatementCacheAccessCount()
public long getPreparedStatementCacheAddCount()
public void deltaPreparedStatementCacheAddCount()
public int getPreparedStatementCacheCurrentSize()
public long getPreparedStatementCacheDeleteCount()
public void deltaPreparedStatementCacheDeleteCount()
public long getPreparedStatementCacheHitCount()
public void deltaPreparedStatementCacheHitCount()
public long getPreparedStatementCacheMissCount()
public void deltaPreparedStatementCacheMissCount()
public void clear()
clear
in interface org.jboss.jca.core.spi.statistics.StatisticsPlugin
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)