public enum CacheStrategy extends Enum<CacheStrategy>
| Enum Constant and Description |
|---|
all
All entities of this site should be cached
|
none
Entities of this site are not cached
|
used
Only entities are cached that where retrieved by some past request
|
| Modifier and Type | Method and Description |
|---|---|
static CacheStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheStrategy all
public static final CacheStrategy used
public static final CacheStrategy none
public static CacheStrategy[] values()
for (CacheStrategy c : CacheStrategy.values()) System.out.println(c);
public static CacheStrategy 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 © 2010-2014 The Apache Software Foundation. All Rights Reserved.