Record Class LoomCarrierConfiguration

java.lang.Object
java.lang.Record
io.micronaut.http.netty.channel.loom.LoomCarrierConfiguration
Record Components:
timeSliceLatency - Time slice size in latency mode.
timeSliceThroughput - Time slice size in throughput mode.
fifoSwitchTime - Number of nanoseconds between switching between continuation FILO and FIFO modes.
taskFifoThreshold - Oldest enqueued continuation must be this old before execution can switch to FIFO mode.
blockTime - Maximum blocking wait time.
throughputModeThreshold - Maximum number of queued tasks before entering throughput mode.
workSpillThreshold - Maximum number of threads per event loop before work spilling should kick in.
normalWarmupTasks - Number of tasks that should run on the normal FJP to initialize e.g. the Poller before switching to the netty scheduler

@ConfigurationProperties("micronaut.netty.loom-carrier") public record LoomCarrierConfiguration(Duration timeSliceLatency, Duration timeSliceThroughput, Duration fifoSwitchTime, Duration taskFifoThreshold, Duration blockTime, int throughputModeThreshold, int workSpillThreshold, int normalWarmupTasks) extends Record
Configuration properties for the netty-based virtual thread scheduler. These properties are experimental and subject to change as the scheduler evolves, even in patch releases.
Since:
4.9.0
Author:
Jonas Konrad