Package io.micronaut.gradle.aot
Interface NettyOptimizations
public interface NettyOptimizations
-
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.Property<Boolean>
Determines if Netty optimizations are enabled.org.gradle.api.provider.Property<String>
If Netty optimizations are optimized, you can set this property to a fixed machine ID instead of Micronaut AOT computing a random ID at runtime (not recommended).org.gradle.api.provider.Property<String>
getPid()
If Netty optimizations are optimized, you can set this property to a fixed PID instead of Micronaut AOT computing a random ID at runtime (not recommended).
-
Method Details
-
getEnabled
Determines if Netty optimizations are enabled.- Returns:
- the enabled property
-
getMachineId
If Netty optimizations are optimized, you can set this property to a fixed machine ID instead of Micronaut AOT computing a random ID at runtime (not recommended). If you set the value to "netty", then Netty will determine the machine id at runtime, effectively disabling this optimization.- Returns:
- the machine ID
-
getPid
If Netty optimizations are optimized, you can set this property to a fixed PID instead of Micronaut AOT computing a random ID at runtime (not recommended). If you set the value to "netty", then Netty will determine the PID at runtime, effectively disabling this optimization.- Returns:
- the machine ID
-