public abstract class InstrumentedFilterContextListener extends Object implements javax.servlet.ServletContextListener
MetricRegistry instance into the servlet
context. Implement getMetricRegistry() to return the MetricRegistry for your
application.| Constructor and Description |
|---|
InstrumentedFilterContextListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
protected abstract com.codahale.metrics.MetricRegistry |
getMetricRegistry() |
protected abstract com.codahale.metrics.MetricRegistry getMetricRegistry()
MetricRegistry to inject into the servlet context.public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed in interface javax.servlet.ServletContextListenerCopyright © 2015. All Rights Reserved.