Package com.jcabi.aspects
Class Tv
- java.lang.Object
-
- com.jcabi.aspects.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/
-
-
Field Summary
Fields Modifier and Type Field Description static intBILLIONBillion.static intEIGHTEight.static intEIGHTYEighty.static intFIFTEENFifteen.static intFIFTYFifty.static intFIVEFive.static intFORTYForty.static intFOURFour.static intHUNDREDHundren.static intMILLIONMillion.static intNINENine.static intNINETYNinety.static intSEVENSeven.static intSEVENTYSeventy.static intSIXSix.static intSIXTYSixty.static intTENTen.static intTHIRTYThirty.static intTHOUSANDThousand.static intTHREEThree.static intTWENTYTwenty.
-
-
-
Field Detail
-
THREE
public static final int THREE
Three.- See Also:
- Constant Field Values
-
FOUR
public static final int FOUR
Four.- See Also:
- Constant Field Values
-
FIVE
public static final int FIVE
Five.- See Also:
- Constant Field Values
-
SIX
public static final int SIX
Six.- See Also:
- Constant Field Values
-
SEVEN
public static final int SEVEN
Seven.- See Also:
- Constant Field Values
-
EIGHT
public static final int EIGHT
Eight.- See Also:
- Constant Field Values
-
NINE
public static final int NINE
Nine.- See Also:
- Constant Field Values
-
TEN
public static final int TEN
Ten.- See Also:
- Constant Field Values
-
FIFTEEN
public static final int FIFTEEN
Fifteen.- See Also:
- Constant Field Values
-
TWENTY
public static final int TWENTY
Twenty.- See Also:
- Constant Field Values
-
THIRTY
public static final int THIRTY
Thirty.- See Also:
- Constant Field Values
-
FORTY
public static final int FORTY
Forty.- See Also:
- Constant Field Values
-
FIFTY
public static final int FIFTY
Fifty.- See Also:
- Constant Field Values
-
SIXTY
public static final int SIXTY
Sixty.- See Also:
- Constant Field Values
-
SEVENTY
public static final int SEVENTY
Seventy.- See Also:
- Constant Field Values
-
EIGHTY
public static final int EIGHTY
Eighty.- See Also:
- Constant Field Values
-
NINETY
public static final int NINETY
Ninety.- See Also:
- Constant Field Values
-
HUNDRED
public static final int HUNDRED
Hundren.- See Also:
- Constant Field Values
-
THOUSAND
public static final int THOUSAND
Thousand.- See Also:
- Constant Field Values
-
MILLION
public static final int MILLION
Million.- See Also:
- Constant Field Values
-
BILLION
public static final int BILLION
Billion.- See Also:
- Constant Field Values
-
-