@FilterWith(value=LogIfSlow.Filter.class) @Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) @Inherited @Documented public @interface LogIfSlow
Logs method and URI of requests which take longer than a given duration.
Modifier and Type | Optional Element and Description |
---|---|
long |
threshold
Slow request duration threshold in milliseconds.
|