Class OperationInvocationRecord

  • All Implemented Interfaces:
    Serializable

    @Experimental
    public final class OperationInvocationRecord
    extends Object
    implements Serializable
    This class provides basically the functionality of MidpointInterceptor. However it was refactored to be callable also outside of the context of AOP - manually by injecting appropriate code, mimicking MidpointInterceptor.invoke method. EXPERIMENTAL.
    See Also:
    Serialized Form
    • Method Detail

      • swapSubsystemMark

        public static String swapSubsystemMark​(String subsystemName)
      • formatExecutionTime

        public static void formatExecutionTime​(StringBuilder sb,
                                               long elapsed)
      • processReturnValue

        public Object processReturnValue​(Object returnValue)
      • processException

        public <T extends Throwable> T processException​(T e)
      • afterCall

        public void afterCall()
      • afterCall

        public void afterCall​(org.aopalliance.intercept.MethodInvocation invocation)
      • getFullClassName

        public String getFullClassName()
      • getMethodName

        public String getMethodName()
      • getElapsedTimeMicros

        public long getElapsedTimeMicros()
      • getInvocationId

        public long getInvocationId()