Package xyz.haff.aspektoj.annotations
package xyz.haff.aspektoj.annotations
-
Enum Summary
-
Annotation Types SummaryAnnotation TypeDescriptionLogs the elapsed time since the call of the method until its completion.Marks a number parameter with the minimum and maximum expected integer values.Ensures that the method is cached, where the key is a parameter annotated with @CacheKey and the value is the result of the method.Annotates a parameter in a @Cached method that will be used as the key of the cacheAnnotates a parameter in a @LogContext annotated method that indicates that it is to be added to the logger's MDCAdds parameter annotated with @ContextVar to the logger's MDC on call.Logs automatically all input parameters and the output of a method.Annotates a method without arguments (Presumably non-deterministic) to make it return the memoized value of a previous execution instead of recalculating it.Indicates that a method is to be retried if any of the exceptions in the `exceptions` parameter is thrown.Indicated that a method can only be used if the logged user (The one in the ThreadLocal of loggedUser in SecurityContext) is the same as `username`Makes a method thread-safe by wrapping calls to it in a mutex lock and release.Aborts execution of a method if it takes more than a duration specified in ISO-8601 duration format.Logs all calls to a method in the logger specified in `logger` and also to all calls of methods inside of it.