public static class MagicQueue.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MagicQueue |
build() |
MagicQueue.Builder |
setCapacityPerFlow(int capacityPerFlow)
This method defines, how
|
MagicQueue.Builder |
setMode(MagicQueue.Mode mode) |
MagicQueue.Builder |
setNumberOfBuckets(int number) |
public MagicQueue.Builder setNumberOfBuckets(int number)
number
- public MagicQueue.Builder setMode(@NonNull MagicQueue.Mode mode)
mode
- public MagicQueue.Builder setCapacityPerFlow(int capacityPerFlow)
capacityPerFlow
- public MagicQueue build()