Package io.netty5.microbench.concurrent
Class BurstCostExecutorsBenchmark.PerThreadState
- java.lang.Object
-
- io.netty5.microbench.concurrent.BurstCostExecutorsBenchmark.PerThreadState
-
- Enclosing class:
- BurstCostExecutorsBenchmark
public static class BurstCostExecutorsBenchmark.PerThreadState extends Object
-
-
Constructor Summary
Constructors Constructor Description PerThreadState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidresetCompleted()Single-writer reset of completed counter.voidsetup(BurstCostExecutorsBenchmark bench)intspinWaitCompletionOf(int value)It would spin-wait until at leastvaluetasks are being completed.
-
-
-
Method Detail
-
setup
public void setup(BurstCostExecutorsBenchmark bench)
-
resetCompleted
public void resetCompleted()
Single-writer reset of completed counter.
-
spinWaitCompletionOf
public int spinWaitCompletionOf(int value)
It would spin-wait until at leastvaluetasks are being completed.
-
-