public interface IParallelRunningRequestCallback
extends com.helger.commons.callback.ICallback
RequestTracker for
registration.| Modifier and Type | Method and Description |
|---|---|
void |
onParallelRunningRequests(int nParallelRequests,
List<TrackedRequest> aRequests)
Callback invoked when a certain amount of parallel requests run.
|
void |
onParallelRunningRequestsBelowLimit()
This method is only called after the threshold was exceeded, when it is
back to normal.
|
void onParallelRunningRequests(@Nonnegative int nParallelRequests, @Nonnull @Nonempty List<TrackedRequest> aRequests)
nParallelRequests - The number of parallel requests. Always > 0.aRequests - The list of requests currently running. The size should be identical
to the number of parallel requests. Never null.void onParallelRunningRequestsBelowLimit()
Copyright © 2017–2019 Philip Helger. All rights reserved.