public static enum MarshallingCodec.Protocol extends Enum<MarshallingCodec.Protocol>
Modifier and Type | Method and Description |
---|---|
static MarshallingCodec.Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MarshallingCodec.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MarshallingCodec.Protocol SERIAL
public static final MarshallingCodec.Protocol RIVER
public static MarshallingCodec.Protocol[] values()
for (MarshallingCodec.Protocol c : MarshallingCodec.Protocol.values()) System.out.println(c);
public static MarshallingCodec.Protocol 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 © 2014–2020 Redisson. All rights reserved.