public class JdbcStatisticsPlugin extends Object implements 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
|
String |
getDescription(String name) |
String |
getDescription(String name,
Locale locale) |
Set<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
|
Class |
getType(String name) |
Object |
getValue(String name) |
boolean |
isEnabled() |
void |
registerPreparedStatementCache(PreparedStatementCache v)
Register prepared statement cache
|
void |
setEnabled(boolean v) |
public Set<String> getNames()
getNames in interface StatisticsPluginpublic Class getType(String name)
getType in interface StatisticsPluginpublic String getDescription(String name)
getDescription in interface StatisticsPluginpublic String getDescription(String name, Locale locale)
getDescription in interface StatisticsPluginpublic Object getValue(String name)
getValue in interface StatisticsPluginpublic boolean isEnabled()
isEnabled in interface StatisticsPluginpublic void setEnabled(boolean v)
setEnabled in interface StatisticsPluginpublic 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 StatisticsPluginCopyright © 2021 JBoss by Red Hat. All rights reserved.