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.GET
public static final CacheModeType IGNORE
CacheMode.IGNORE
.CacheMode.IGNORE
public static final CacheModeType NORMAL
CacheMode.NORMAL
.CacheMode.NORMAL
public static final CacheModeType PUT
CacheMode.PUT
.CacheMode.PUT
public static final CacheModeType REFRESH
CacheMode.REFRESH
.CacheMode.REFRESH
public 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-2022 Red Hat, Inc. All Rights Reserved.