public class BackPressureSampleService extends Object
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Double> |
sampleTaskBackPressure(BackPressureSampleableTask task)
Schedules to sample the task back pressure and returns a future that completes
with the back pressure ratio.
|
public CompletableFuture<Double> sampleTaskBackPressure(BackPressureSampleableTask task)
task
- The task to be sampled.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.