Serializable, Comparable<RateLimitRepository>public enum RateLimitRepository extends Enum<RateLimitRepository>
| Enum Constant | Description |
|---|---|
BUCKET4J_HAZELCAST |
Uses Bucket4j Hazelcast as data storage
|
BUCKET4J_IGNITE |
Uses Bucket4j Ignite as data storage
|
BUCKET4J_INFINISPAN |
Uses Bucket4j Infinispan as data storage
|
BUCKET4J_JCACHE |
Uses Bucket4j JCache as data storage
|
CONSUL |
Uses Consul as data storage
|
JPA |
Uses SQL database as data storage
|
REDIS |
Uses Redis as data storage
|
| Modifier and Type | Method | Description |
|---|---|---|
static RateLimitRepository |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static RateLimitRepository[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RateLimitRepository REDIS
public static final RateLimitRepository CONSUL
public static final RateLimitRepository JPA
public static final RateLimitRepository BUCKET4J_JCACHE
public static final RateLimitRepository BUCKET4J_HAZELCAST
public static final RateLimitRepository BUCKET4J_IGNITE
public static final RateLimitRepository BUCKET4J_INFINISPAN
public static RateLimitRepository[] values()
for (RateLimitRepository c : RateLimitRepository.values()) System.out.println(c);
public static RateLimitRepository 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 © 2019. All rights reserved.