Annotation Type RmiCacheResult
Defines a cache for method invocation results of this
Class
or methods.
Will pass all method parameters to Objects.hash(Object...)
to generate a cache
key.
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionlong
The duration in milliseconds before a cached result expires. -
Field Summary
-
Field Details
-
DEFAULT_RESULT_EXPIRATION
static final long DEFAULT_RESULT_EXPIRATION- See Also:
-
-
Element Details
-
value
long valueThe duration in milliseconds before a cached result expires.- Returns:
- duration in milliseconds before a cached result expires
- Default:
- 1000L
-