PushbackPolicy is used to calculate how much back pressure to apply
based on the current buffer. The PushbackPolicy will be called after
an event has been queued, and the returned value will be used as back
pressure.
PushbackPolicyOption
| Modifier and Type | Method and Description |
|---|---|
| public long | Returns: a back pressure value in nanosecondsGiven the current state of the queue, determine the level of back pressure that should be applied |
| pushback | back to summary |
|---|---|
| public long pushback(U queue) throws Exception Given the current state of the queue, determine the level of back pressure that should be applied
| |