JavaScript is disabled on your browser.
Skip navigation links
Module
Package
Class
Use
Tree
Deprecated
Index
Help
Summary:
Field |
Optional
|
Required
Detail:
Field |
Element
SEARCH:
Module
com.logicommerce.sdk
Package
com.logicommerce.sdk.resources
Annotation Interface CacheSettings
@Retention
(
RUNTIME
)
@Target
(
FIELD
)
public @interface
CacheSettings
Cache settings
Since:
1.1.7
Author:
Logicommerce
Optional Element Summary
Optional Elements
Modifier and Type
Optional Element
Description
long
duration
Duration of cache in seconds.
String
name
Name of cache.
Element Details
name
String
name
Name of cache. If it is not defined or empty, the name of cache will be the name of field.
Returns:
a
String
object
Default:
""
duration
long
duration
Duration of cache in seconds. If it is not defined or 0, the duration of cache will be 300 seconds.
Returns:
a long
Default:
300L