com.yammer.metrics.jdbi.strategies
Class SmartNameStrategy

java.lang.Object
  extended by com.yammer.metrics.jdbi.strategies.DelegatingStatementNameStrategy
      extended by com.yammer.metrics.jdbi.strategies.SmartNameStrategy
All Implemented Interfaces:
StatementNameStrategy

public class SmartNameStrategy
extends DelegatingStatementNameStrategy

Adds statistics for JDBI queries that set the NameStrategies.STATEMENT_CLASS and NameStrategies.STATEMENT_NAME for class based display or NameStrategies.STATEMENT_GROUP and NameStrategies.STATEMENT_NAME for group based display.

Also knows how to deal with SQL Object statements.


Constructor Summary
SmartNameStrategy()
           
 
Method Summary
 
Methods inherited from class com.yammer.metrics.jdbi.strategies.DelegatingStatementNameStrategy
getStatementName, registerStrategies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmartNameStrategy

public SmartNameStrategy()


Copyright © 2012. All Rights Reserved.