public static enum TcpChannel.WriteBlockPolicy extends Enum<TcpChannel.WriteBlockPolicy>
| Enum Constant and Description |
|---|
DEFAULT |
DROP_AND_IGNORE |
DROP_AND_THROW |
RESCHED_OK_BUT_NO_BLOCK_ON_STATE |
| Modifier and Type | Method and Description |
|---|---|
static TcpChannel.WriteBlockPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TcpChannel.WriteBlockPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TcpChannel.WriteBlockPolicy DEFAULT
public static final TcpChannel.WriteBlockPolicy DROP_AND_IGNORE
public static final TcpChannel.WriteBlockPolicy DROP_AND_THROW
public static final TcpChannel.WriteBlockPolicy RESCHED_OK_BUT_NO_BLOCK_ON_STATE
public static TcpChannel.WriteBlockPolicy[] values()
for (TcpChannel.WriteBlockPolicy c : TcpChannel.WriteBlockPolicy.values()) System.out.println(c);
public static TcpChannel.WriteBlockPolicy 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 2004-2020 Solace Corporation. All rights reserved.