Class ConnectionWorker.Load (2.27.0)

public abstract static class ConnectionWorker.Load

Represent the current workload for this worker. Used for multiplexing algorithm to determine the distribution of requests.

Inheritance

java.lang.Object > ConnectionWorker.Load

Static Fields

LOAD_COMPARATOR

public static final Comparator<ConnectionWorker.Load> LOAD_COMPARATOR
Field Value
TypeDescription
Comparator<Load>

TEST_LOAD_COMPARATOR

public static final Comparator<ConnectionWorker.Load> TEST_LOAD_COMPARATOR
Field Value
TypeDescription
Comparator<Load>

Static Methods

setOverwhelmedBytesThreshold(double newThreshold)

public static void setOverwhelmedBytesThreshold(double newThreshold)
Parameter
NameDescription
newThresholddouble

setOverwhelmedCountsThreshold(double newThreshold)

public static void setOverwhelmedCountsThreshold(double newThreshold)
Parameter
NameDescription
newThresholddouble

Constructors

Load()

public Load()