public static enum SxSource.CachePolicy extends Enum<SxSource.CachePolicy>
Enum Constant and Description |
---|
DEFAULT
Cache for the proxy/browser's default time, It will be held in the server cache an amount of time specified
in AbstractSxAction.
|
FORBID
Do not cache at all in server cache or in proxy/browser.
|
LONG
Cache for a long time.
|
SHORT
Cache for a short time.
|
Modifier and Type | Method and Description |
---|---|
static SxSource.CachePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SxSource.CachePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SxSource.CachePolicy LONG
AbstractSxAction.LONG_CACHE_DURATION
public static final SxSource.CachePolicy SHORT
AbstractSxAction.SHORT_CACHE_DURATION
public static final SxSource.CachePolicy DEFAULT
public static final SxSource.CachePolicy FORBID
public static SxSource.CachePolicy[] values()
for (SxSource.CachePolicy c : SxSource.CachePolicy.values()) System.out.println(c);
public static SxSource.CachePolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2004–2021 XWiki. All rights reserved.