public enum JCacheProviders extends Enum<JCacheProviders> implements JCacheProvider
Enum Constant and Description |
---|
caffeine |
ehcache |
hazelcast |
ispnEmbedded |
Modifier and Type | Field and Description |
---|---|
protected String |
className |
protected String |
shortName |
Modifier and Type | Method and Description |
---|---|
String |
className() |
static JCacheProvider |
lookup(String providerName) |
String |
shortName() |
static JCacheProviders |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCacheProviders[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCacheProviders hazelcast
public static final JCacheProviders ehcache
public static final JCacheProviders caffeine
public static final JCacheProviders ispnEmbedded
public static JCacheProviders[] values()
for (JCacheProviders c : JCacheProviders.values()) System.out.println(c);
public static JCacheProviders 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 String shortName()
shortName
in interface JCacheProvider
public String className()
className
in interface JCacheProvider
public static JCacheProvider lookup(String providerName)
Apache Camel