Class UpdateFieldsInConstructorTimeoutTransformer

    • Constructor Summary

      Constructors 
      Constructor Description
      UpdateFieldsInConstructorTimeoutTransformer​(java.lang.String className, java.lang.String connectTimeoutFieldName, java.lang.String readTimeoutFieldName, long connectTimeoutMillis, long readTimeoutMillis, AgentInfo agentInfo)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected byte[] doTransformClass​(javassist.CtClass cc)
      Transform a class that is guaranteed to exist and in scope of this agent instance
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.instrument.ClassFileTransformer

        transform
    • Constructor Detail

      • UpdateFieldsInConstructorTimeoutTransformer

        public UpdateFieldsInConstructorTimeoutTransformer​(java.lang.String className,
                                                           java.lang.String connectTimeoutFieldName,
                                                           java.lang.String readTimeoutFieldName,
                                                           long connectTimeoutMillis,
                                                           long readTimeoutMillis,
                                                           AgentInfo agentInfo)
    • Method Detail

      • doTransformClass

        protected byte[] doTransformClass​(javassist.CtClass cc)
                                   throws java.lang.Exception
        Description copied from class: MBeanAwareTimeoutTransformer
        Transform a class that is guaranteed to exist and in scope of this agent instance
        Specified by:
        doTransformClass in class MBeanAwareTimeoutTransformer
        Parameters:
        cc - the class
        Returns:
        the new class definition
        Throws:
        java.lang.Exception - in case of any problems while transforming