public static enum NSQConfig.Compression extends Enum<NSQConfig.Compression>
| Enum Constant and Description |
|---|
DEFLATE |
NO_COMPRESSION |
SNAPPY |
| Modifier and Type | Method and Description |
|---|---|
static NSQConfig.Compression |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NSQConfig.Compression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NSQConfig.Compression NO_COMPRESSION
public static final NSQConfig.Compression DEFLATE
public static final NSQConfig.Compression SNAPPY
public static NSQConfig.Compression[] values()
for (NSQConfig.Compression c : NSQConfig.Compression.values()) System.out.println(c);
public static NSQConfig.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 nullCopyright © 2017. All rights reserved.