public enum CacheKeyType extends Enum<CacheKeyType>
PrimaryKey.cacheKeyType(),
ClassDescriptor.setCacheKeyType(CacheKeyType)| Enum Constant and Description |
|---|
AUTO
The cache key type is automatically configured depending on what is optimal for the class.
|
CACHE_ID
Optimized cache key type that allows composite and complex values.
|
ID_VALUE
This can only be used for simple singleton Ids, such as long/int/String.
|
| Modifier and Type | Method and Description |
|---|---|
static CacheKeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheKeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheKeyType ID_VALUE
public static final CacheKeyType CACHE_ID
public static final CacheKeyType AUTO
public static CacheKeyType[] values()
for (CacheKeyType c : CacheKeyType.values()) System.out.println(c);
public static CacheKeyType 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 © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.