| Constructor and Description |
|---|
Builder(ResourceEstimator<T> resourceEstimator) |
| Modifier and Type | Method and Description |
|---|---|
RequestAllocatorConfig.Builder<T> |
allowParallelization() |
RequestAllocatorConfig.Builder<T> |
allowParallelization(int maxThreads) |
RequestAllocatorConfig<T> |
build() |
RequestAllocatorConfig.Builder<T> |
storeRejectedRequests(String storeRejectedRequestsSetting) |
RequestAllocatorConfig.Builder<T> |
withLimitedScopeConfig(com.typesafe.config.Config config) |
RequestAllocatorConfig.Builder<T> |
withPrioritizer(Comparator<T> prioritizer) |
public Builder(ResourceEstimator<T> resourceEstimator)
public RequestAllocatorConfig.Builder<T> allowParallelization()
public RequestAllocatorConfig.Builder<T> allowParallelization(int maxThreads)
public RequestAllocatorConfig.Builder<T> withLimitedScopeConfig(com.typesafe.config.Config config)
public RequestAllocatorConfig.Builder<T> withPrioritizer(Comparator<T> prioritizer)
public RequestAllocatorConfig.Builder<T> storeRejectedRequests(String storeRejectedRequestsSetting)
public RequestAllocatorConfig<T> build()