Annotation Type | Description |
---|---|
Cacheable |
Makes a method response cacheable in memory for some time.
|
Cacheable.Flush |
Identifies a method that should flush all cached entities of
this class/object.
|
Immutable |
Annotates an immutable class.
|
LogExceptions |
Log all exceptions thrown out of this method.
|
Loggable |
Makes a method loggable via
Logger . |
RetryOnFailure |
Retry the method in case of exception.
|
ScheduleWithFixedDelay |
Schedules the method to run with fixed delay, automatically.
|
Timeable |
Makes a method time constrained.
|
The only dependency you need is (check our latest version available at www.jcabi.com):
<depedency> <groupId>com.jcabi</groupId> <artifactId>jcabi-aspects</artifactId> </dependency>
Read how to use jcabi-aspects
with Maven.
Copyright © 2012-2013 jcabi.com. All Rights Reserved.