public enum CacheType extends Enum<CacheType>
Enum Constant and Description |
---|
CAFFEINE
Caffeine backed caching.
|
COUCHBASE
Couchbase backed caching.
|
EHCACHE
EhCache backed caching.
|
GENERIC
Generic caching using 'Cache' beans from the context.
|
GUAVA
Guava backed caching.
|
HAZELCAST
Hazelcast backed caching.
|
INFINISPAN
Infinispan backed caching.
|
JCACHE
JCache (JSR-107) backed caching.
|
NONE
No caching.
|
REDIS
Redis backed caching.
|
SIMPLE
Simple in-memory caching.
|
Modifier and Type | Method and Description |
---|---|
static CacheType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheType GENERIC
public static final CacheType JCACHE
public static final CacheType EHCACHE
public static final CacheType HAZELCAST
public static final CacheType INFINISPAN
public static final CacheType COUCHBASE
public static final CacheType REDIS
public static final CacheType CAFFEINE
public static final CacheType GUAVA
public static final CacheType SIMPLE
public static final CacheType NONE
public static CacheType[] values()
for (CacheType c : CacheType.values()) System.out.println(c);
public static CacheType 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 © 2016 Pivotal Software, Inc.. All rights reserved.