public enum CacheModeType extends Enum<CacheModeType>
| Enum Constant and Description | 
|---|
GET
Corresponds to  
CacheMode.GET. | 
IGNORE
Corresponds to  
CacheMode.IGNORE. | 
NORMAL
Corresponds to  
CacheMode.NORMAL. | 
PUT
Corresponds to  
CacheMode.PUT. | 
REFRESH
Corresponds to  
CacheMode.REFRESH. | 
| Modifier and Type | Method and Description | 
|---|---|
static CacheModeType | 
fromCacheMode(CacheMode cacheMode)
Conversion from  
CacheMode to CacheModeType. | 
CacheMode | 
getCacheMode()  | 
static CacheModeType | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static CacheModeType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final CacheModeType GET
CacheMode.GET.CacheMode.GETpublic static final CacheModeType IGNORE
CacheMode.IGNORE.CacheMode.IGNOREpublic static final CacheModeType NORMAL
CacheMode.NORMAL.CacheMode.NORMALpublic static final CacheModeType PUT
CacheMode.PUT.CacheMode.PUTpublic static final CacheModeType REFRESH
CacheMode.REFRESH.CacheMode.REFRESHpublic static CacheModeType[] values()
for (CacheModeType c : CacheModeType.values()) System.out.println(c);
public static CacheModeType 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 nullpublic CacheMode getCacheMode()
public static CacheModeType fromCacheMode(CacheMode cacheMode)
CacheMode to CacheModeType.cacheMode - The cache mode to convertnull if the given accessType is null.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.