Package com.adaptris.core.cache.jcache
Enum ConfiguredJsr107Cache.ProviderNames
- java.lang.Object
-
- java.lang.Enum<ConfiguredJsr107Cache.ProviderNames>
-
- com.adaptris.core.cache.jcache.ConfiguredJsr107Cache.ProviderNames
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ConfiguredJsr107Cache.ProviderNames>
- Enclosing class:
- ConfiguredJsr107Cache
public static enum ConfiguredJsr107Cache.ProviderNames extends java.lang.Enum<ConfiguredJsr107Cache.ProviderNames>
Caching provider classnames mapped against a friendly name.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EHCACHE3
Friendly name fororg.ehcache.jsr107.EhcacheCachingProvider
HAZELCAST
Friendly name forcom.hazelcast.cache.HazelcastCachingProvider
IGNITE
Friendly name fororg.apache.ignite.cache.CachingProvider
INFINISPAN
Friendly name fororg.infinispan.jcache.embedded.JCachingProvider
REDIS
Friendly name fororg.redisson.jcache.JCachingProvider
REDISSON
Friendly name fororg.redisson.jcache.JCachingProvider
REFERENCE
Friendly name fororg.jsr107.ri.spi.RICachingProvider
; the reference implementation
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfiguredJsr107Cache.ProviderNames
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ConfiguredJsr107Cache.ProviderNames[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EHCACHE3
public static final ConfiguredJsr107Cache.ProviderNames EHCACHE3
Friendly name fororg.ehcache.jsr107.EhcacheCachingProvider
-
REDIS
public static final ConfiguredJsr107Cache.ProviderNames REDIS
Friendly name fororg.redisson.jcache.JCachingProvider
-
REDISSON
public static final ConfiguredJsr107Cache.ProviderNames REDISSON
Friendly name fororg.redisson.jcache.JCachingProvider
-
REFERENCE
public static final ConfiguredJsr107Cache.ProviderNames REFERENCE
Friendly name fororg.jsr107.ri.spi.RICachingProvider
; the reference implementation
-
IGNITE
public static final ConfiguredJsr107Cache.ProviderNames IGNITE
Friendly name fororg.apache.ignite.cache.CachingProvider
-
INFINISPAN
public static final ConfiguredJsr107Cache.ProviderNames INFINISPAN
Friendly name fororg.infinispan.jcache.embedded.JCachingProvider
-
HAZELCAST
public static final ConfiguredJsr107Cache.ProviderNames HAZELCAST
Friendly name forcom.hazelcast.cache.HazelcastCachingProvider
-
-
Method Detail
-
values
public static ConfiguredJsr107Cache.ProviderNames[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConfiguredJsr107Cache.ProviderNames c : ConfiguredJsr107Cache.ProviderNames.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfiguredJsr107Cache.ProviderNames valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-