类 AbstractMonitoringInterceptor

    • 方法详细资料

      • setPrefix

        public void setPrefix​(@Nullable
                              String prefix)
        Set the text that will get appended to the trace data.

        Default is none.

      • getPrefix

        protected String getPrefix()
        Return the text that will get appended to the trace data.
      • setSuffix

        public void setSuffix​(@Nullable
                              String suffix)
        Set the text that will get prepended to the trace data.

        Default is none.

      • getSuffix

        protected String getSuffix()
        Return the text that will get prepended to the trace data.
      • setLogTargetClassInvocation

        public void setLogTargetClassInvocation​(boolean logTargetClassInvocation)
        Set whether to log the invocation on the target class, if applicable (i.e. if the method is actually delegated to the target class).

        Default is "false", logging the invocation based on the proxy interface/class name.