Class RuntimeKit

java.lang.Object
com.iohao.net.common.kit.RuntimeKit

public class RuntimeKit extends Object
RuntimeKit
Since:
21.7
Author:
渔民小镇
date:
2024-05-01
  • Field Details

    • availableProcessors

      public int availableProcessors
    • availableProcessors2n

      public int availableProcessors2n
      The number is a power of 2 that is not greater than Runtime.getRuntime().availableProcessors(). When the value of availableProcessors is 4, 8, 12, 16, or 32, the corresponding number is 4, 8, 8, 16, or 32.
  • Constructor Details

    • RuntimeKit

      public RuntimeKit()