public class JdbcCollector extends Object implements com.atlassian.instrumentation.caches.RequestListener
Constructor and Description |
---|
JdbcCollector(boolean sqlExecutionTimesEnabled) |
Modifier and Type | Method and Description |
---|---|
String |
getLoggingKey() |
String |
getName() |
List<String> |
getTags() |
boolean |
isEnabled() |
Map<String,Object> |
onRequestEnd() |
void |
onRequestStart() |
void |
setEnabled(boolean enabled) |
public String getName()
getName
in interface com.atlassian.instrumentation.caches.RequestListener
public void onRequestStart()
onRequestStart
in interface com.atlassian.instrumentation.caches.RequestListener
public String getLoggingKey()
getLoggingKey
in interface com.atlassian.instrumentation.caches.RequestListener
public Map<String,Object> onRequestEnd()
onRequestEnd
in interface com.atlassian.instrumentation.caches.RequestListener
public List<String> getTags()
getTags
in interface com.atlassian.instrumentation.caches.RequestListener
public boolean isEnabled()
isEnabled
in interface com.atlassian.instrumentation.caches.RequestListener
public void setEnabled(boolean enabled)
setEnabled
in interface com.atlassian.instrumentation.caches.RequestListener
Copyright © 2002-2021 Atlassian. All Rights Reserved.