public enum TcpHandlerBias extends Enum<TcpHandlerBias> implements Supplier<net.openhft.chronicle.network.TcpHandlerBias.BiasController>
| Enum Constant and Description |
|---|
FAIR
Defines a fair TcpEventHandler biasing, with 1 write per each read
|
READ
Defines a read-bias for TcpEventHandler.
|
WRITE
Defines a write-bias for TcpEventHandler.
|
| Modifier and Type | Method and Description |
|---|---|
static TcpHandlerBias |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TcpHandlerBias[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TcpHandlerBias READ
public static final TcpHandlerBias FAIR
public static final TcpHandlerBias WRITE
public static TcpHandlerBias[] values()
for (TcpHandlerBias c : TcpHandlerBias.values()) System.out.println(c);
public static TcpHandlerBias 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 © 2023. All rights reserved.