Class TracingInterceptor.TracingStatementProxy

java.lang.Object
com.amazonaws.xray.sql.mysql.TracingInterceptor.TracingStatementProxy
All Implemented Interfaces:
java.lang.reflect.InvocationHandler
Enclosing class:
TracingInterceptor

protected class TracingInterceptor.TracingStatementProxy
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.util.Map<java.lang.String,​java.lang.Object> additionalParams  
    protected boolean closed  
    protected java.lang.Object delegate  
    protected java.lang.String hostname  
    protected java.lang.String query  
  • Constructor Summary

    Constructors 
    Constructor Description
    TracingStatementProxy​(java.lang.Object parent, java.lang.String query, java.lang.String hostname, java.util.Map<java.lang.String,​java.lang.Object> additionalParams)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • closed

      protected boolean closed
    • delegate

      protected java.lang.Object delegate
    • query

      protected final java.lang.String query
    • hostname

      protected final java.lang.String hostname
    • additionalParams

      protected java.util.Map<java.lang.String,​java.lang.Object> additionalParams
  • Constructor Details

    • TracingStatementProxy

      public TracingStatementProxy​(java.lang.Object parent, java.lang.String query, java.lang.String hostname, java.util.Map<java.lang.String,​java.lang.Object> additionalParams)
  • Method Details

    • invoke

      public java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
      Specified by:
      invoke in interface java.lang.reflect.InvocationHandler
      Throws:
      java.lang.Throwable