public static enum RedisOptions.Compression extends Enum<RedisOptions.Compression>
| Modifier and Type | Method and Description |
|---|---|
org.redisson.client.codec.Codec |
getCodec(org.redisson.client.codec.Codec innerCodec) |
static RedisOptions.Compression |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisOptions.Compression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisOptions.Compression SNAPPY
public static final RedisOptions.Compression L4Z
public static final RedisOptions.Compression NONE
public static RedisOptions.Compression[] values()
for (RedisOptions.Compression c : RedisOptions.Compression.values()) System.out.println(c);
public static RedisOptions.Compression 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 org.redisson.client.codec.Codec getCodec(org.redisson.client.codec.Codec innerCodec)
Copyright © 2013–2020. All rights reserved.