Class Tv


  • public final class Tv
    extends Object
    Convenient holder of numeric constants for annotations (TV means "time values").

    For example, you can use it like this:

     @Cacheable(lifetime = Tv.FIVE, unit = TimeUnit.SECONDS)
     String load(String resource) throws IOException {
     }
    Since:
    0.22.1
    See Also:
    http://aspects.jcabi.com/