public class BruteForceAllocator<T extends Request<T>> extends PriorityIterableBasedRequestAllocator<T>
RequestAllocator that simply adds every work unit to a ConcurrentBoundedPriorityIterable, then returns
the iterator.| Modifier and Type | Class and Description |
|---|---|
static class |
BruteForceAllocator.Factory |
| Constructor and Description |
|---|
BruteForceAllocator(RequestAllocatorConfig<T> configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<T> |
getJoinIterator(Iterator<? extends Requestor<T>> requestors,
ConcurrentBoundedPriorityIterable<T> requestIterable) |
allocateRequests, getRejectedAndDroppedRequestspublic BruteForceAllocator(RequestAllocatorConfig<T> configuration)
protected Iterator<T> getJoinIterator(Iterator<? extends Requestor<T>> requestors, ConcurrentBoundedPriorityIterable<T> requestIterable)
getJoinIterator in class PriorityIterableBasedRequestAllocator<T extends Request<T>>