Constructor and Description |
---|
DatabaseDiagnosticsCollectorDelegate() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled() |
void |
onPluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event) |
void |
onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event) |
<T> T |
recordExecutionTime(com.atlassian.diagnostics.internal.platform.monitor.db.SqlOperation<T> operation,
String sql) |
void |
removeTrackedConnection(Connection connection) |
void |
start()
This method will be called after the plugin system is fully initialised and all components added to the
dependency injection framework.
|
void |
trackConnection(Connection connection) |
public DatabaseDiagnosticsCollectorDelegate()
public boolean isEnabled()
public void trackConnection(Connection connection)
public void removeTrackedConnection(Connection connection)
public <T> T recordExecutionTime(com.atlassian.diagnostics.internal.platform.monitor.db.SqlOperation<T> operation, String sql) throws SQLException
SQLException
public void start()
Startable
@EventListener public void onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event)
@EventListener public void onPluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event)
Copyright © 2002-2019 Atlassian. All Rights Reserved.