| Interface | Description |
|---|---|
| Tv |
Convenient holder of numeric constants for annotations
(TV means "time values").
|
| Class | Description |
|---|---|
| UnitedThrow.None |
Default empty exception.
|
| Annotation Type | Description |
|---|---|
| Async |
Marks a method for asynchronous execution.
|
| Cacheable |
Makes a method response cacheable in memory for some time.
|
| Cacheable.Flush | Deprecated
It is identical to
Cacheable.FlushBefore |
| Cacheable.FlushAfter |
Identifies a method that should flush all cached entities of
this class/object, after being executed.
|
| Cacheable.FlushBefore |
Identifies a method that should flush all cached entities of
this class/object, before being executed.
|
| Immutable |
Annotates an immutable class.
|
| LogExceptions |
Log all exceptions thrown out of this method.
|
| Loggable |
Makes a method loggable via
Logger. |
| Loggable.Quiet |
Identifies an exception that is never logged by
Loggable if/when
being thrown out of an annotated method. |
| Parallel |
Execute annotated method in multiple threads.
|
| Quietly |
Log all exceptions thrown out of this method and swallow them.
|
| RetryOnFailure |
Retry the method in case of exception.
|
| ScheduleWithFixedDelay |
Schedules the method to run with fixed delay, automatically.
|
| Timeable |
Makes a method time constrained.
|
| UnitedThrow |
Throw only allowed exceptions, encapsulate others.
|
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–2014 jcabi.com. All rights reserved.