public class JdbcStatementCacheSizeEvent extends JdbcDriverEvent
JdbcStatementCacheSizeEvent indicates that the current application
is not using JDBC statement caching.Event.Priority| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_STATEMENT_CACHE_SIZE |
| Constructor and Description |
|---|
JdbcStatementCacheSizeEvent(DatabaseInfo databaseInfo,
boolean statementCacheEnabled,
int statementCacheSize)
Instantiate a
JdbcStatementCacheSizeEvent using the provided JDBC Statement cache settings. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
|
Event.Priority |
getPriority()
Get the
Event.Priority of this Event |
int |
getStatementCacheSize()
Get the current JDBC statement cache size.
|
boolean |
isStatementCacheEnabled()
Check if JDBC statement caching is enabled.
|
getDatabaseInfogetInfoUrlpublic static final int DEFAULT_STATEMENT_CACHE_SIZE
public JdbcStatementCacheSizeEvent(DatabaseInfo databaseInfo, boolean statementCacheEnabled, int statementCacheSize)
JdbcStatementCacheSizeEvent using the provided JDBC Statement cache settings.databaseInfo - the underlying database infostatementCacheEnabled - if JDBC statement caching is enabledstatementCacheSize - the current JDBC statement cache sizepublic boolean isStatementCacheEnabled()
public int getStatementCacheSize()
public Event.Priority getPriority()
Event.Priority of this EventEvent.Priority of this EventCopyright © 2026. All rights reserved.