public enum CachingBackends extends Enum<CachingBackends>
Enum Constant and Description |
---|
EHCACHE
Cache backend based in EHCache for single-machine production environments.
|
GUAVA
Simple in-memory cache backend using the Guava library; no clustering support
|
HAZELCAST
Cache backend based on Hazelcast using a dynamic cluster setup
|
INFINISPAN_CLUSTERED
Cache backend based on Infinispan using a dynamic cluster setup (UDP multicast)
|
INFINISPAN_HOTROD
Cache backend based on Infinispan using a client-server setup (Hotrod)
|
Modifier and Type | Method and Description |
---|---|
String |
getFactoryClass() |
static CachingBackends |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CachingBackends[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CachingBackends GUAVA
public static final CachingBackends INFINISPAN_CLUSTERED
public static final CachingBackends INFINISPAN_HOTROD
public static final CachingBackends HAZELCAST
public static final CachingBackends EHCACHE
public static CachingBackends[] values()
for (CachingBackends c : CachingBackends.values()) System.out.println(c);
public static CachingBackends 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 getFactoryClass()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.