public static enum RateLimitProperties.Repository extends Enum<RateLimitProperties.Repository>
| Enum Constant and Description |
|---|
CONSUL
Uses Consul as data storage
|
IN_MEMORY
Uses a ConcurrentHashMap as data storage
|
JPA
Uses SQL database as data storage
|
REDIS
Uses Redis as data storage
|
| Modifier and Type | Method and Description |
|---|---|
static RateLimitProperties.Repository |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RateLimitProperties.Repository[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RateLimitProperties.Repository REDIS
public static final RateLimitProperties.Repository CONSUL
public static final RateLimitProperties.Repository JPA
public static final RateLimitProperties.Repository IN_MEMORY
public static RateLimitProperties.Repository[] values()
for (RateLimitProperties.Repository c : RateLimitProperties.Repository.values()) System.out.println(c);
public static RateLimitProperties.Repository 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 © 2018 Pivotal Software, Inc.. All rights reserved.