Interface NettyOptimizations


public interface NettyOptimizations
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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>
    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

      @Input org.gradle.api.provider.Property<Boolean> getEnabled()
      Determines if Netty optimizations are enabled.
      Returns:
      the enabled property
    • getMachineId

      @Input @Optional org.gradle.api.provider.Property<String> 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

      @Input @Optional 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). If you set the value to "netty", then Netty will determine the PID at runtime, effectively disabling this optimization.
      Returns:
      the machine ID