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 some exception occurs during its executionIndicated that a method can only be used if the logged user is a specific oneMakes 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 specified duration.Logs all calls to a method and all calls to methods made during its execution.