Custom Annotation 来计算 java play framwork 中的执行时间

问题描述 投票:0回答:0

我想编写自定义注释来计算 java play framwork (2.3.6) 中的执行时间。文档中关于自定义注释的信息不多,并且在播放框架中找不到与@around 等效的注释。

看起来类似于下面的东西 https://medium.com/hexascale/custom-annotation-to-log-method-execution-time-85584966e6c3#:~:text=Logging%20the%20execution%20time%20taken,subtract%20this%20time%20from% E2%80%9D系统.

java playframework backend playframework-2.3
© www.soinside.com 2019 - 2024. All rights reserved.