public static enum CacheableStorageProviderModel.CachePolicy extends Enum<CacheableStorageProviderModel.CachePolicy>
Enum Constant and Description |
---|
DEFAULT |
EVICT_DAILY |
EVICT_WEEKLY |
MAX_LIFESPAN |
NO_CACHE |
Modifier and Type | Method and Description |
---|---|
static CacheableStorageProviderModel.CachePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheableStorageProviderModel.CachePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheableStorageProviderModel.CachePolicy NO_CACHE
public static final CacheableStorageProviderModel.CachePolicy DEFAULT
public static final CacheableStorageProviderModel.CachePolicy EVICT_DAILY
public static final CacheableStorageProviderModel.CachePolicy EVICT_WEEKLY
public static final CacheableStorageProviderModel.CachePolicy MAX_LIFESPAN
public static CacheableStorageProviderModel.CachePolicy[] values()
for (CacheableStorageProviderModel.CachePolicy c : CacheableStorageProviderModel.CachePolicy.values()) System.out.println(c);
public static CacheableStorageProviderModel.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 © 2019 JBoss by Red Hat. All rights reserved.