public static enum Latkes.RuntimeCache extends Enum<Latkes.RuntimeCache>
Latkes.getRuntimeCache()| Enum Constant and Description |
|---|
LOCAL_LRU
Local LRU memory cache (Caffeine).
|
NONE
None.
|
REDIS
Redis.
|
| Modifier and Type | Method and Description |
|---|---|
static Latkes.RuntimeCache |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Latkes.RuntimeCache[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Latkes.RuntimeCache NONE
public static final Latkes.RuntimeCache LOCAL_LRU
public static final Latkes.RuntimeCache REDIS
public static Latkes.RuntimeCache[] values()
for (Latkes.RuntimeCache c : Latkes.RuntimeCache.values()) System.out.println(c);
public static Latkes.RuntimeCache 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 © 2009–2019 B3log. All rights reserved.