Class TransactionInstrumentation.TransactionCommitAdvice

java.lang.Object
io.opentelemetry.javaagent.instrumentation.hibernate.v6_0.TransactionInstrumentation.TransactionCommitAdvice
Enclosing class:
TransactionInstrumentation

public static class TransactionInstrumentation.TransactionCommitAdvice extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    endCommit(Throwable throwable, io.opentelemetry.javaagent.bootstrap.CallDepth callDepth, io.opentelemetry.javaagent.instrumentation.hibernate.HibernateOperation hibernateOperation, io.opentelemetry.context.Context context, io.opentelemetry.context.Scope scope)
     
    static void
    startCommit(org.hibernate.Transaction transaction, io.opentelemetry.javaagent.bootstrap.CallDepth callDepth, io.opentelemetry.javaagent.instrumentation.hibernate.HibernateOperation hibernateOperation, io.opentelemetry.context.Context context, io.opentelemetry.context.Scope scope)
     

    Methods inherited from class java.lang.Object

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

    • TransactionCommitAdvice

      public TransactionCommitAdvice()
  • Method Details

    • startCommit

      @OnMethodEnter(suppress=java.lang.Throwable.class) public static void startCommit(@This org.hibernate.Transaction transaction, @Local("otelCallDepth") io.opentelemetry.javaagent.bootstrap.CallDepth callDepth, @Local("otelHibernateOperation") io.opentelemetry.javaagent.instrumentation.hibernate.HibernateOperation hibernateOperation, @Local("otelContext") io.opentelemetry.context.Context context, @Local("otelScope") io.opentelemetry.context.Scope scope)
    • endCommit

      @OnMethodExit(onThrowable=java.lang.Throwable.class, suppress=java.lang.Throwable.class) public static void endCommit(@Thrown Throwable throwable, @Local("otelCallDepth") io.opentelemetry.javaagent.bootstrap.CallDepth callDepth, @Local("otelHibernateOperation") io.opentelemetry.javaagent.instrumentation.hibernate.HibernateOperation hibernateOperation, @Local("otelContext") io.opentelemetry.context.Context context, @Local("otelScope") io.opentelemetry.context.Scope scope)