Interface ResourceSharingConfig.Builder

  • Method Details

    • strategy

      The strategy of how idle compute is shared within the cluster. The following are the options of strategies.

      • DontLend: entities do not lend idle compute.

      • Lend: entities can lend idle compute to entities that can borrow.

      • LendandBorrow: entities can lend idle compute and borrow idle compute from other entities.

      Default is LendandBorrow.

      Parameters:
      strategy - The strategy of how idle compute is shared within the cluster. The following are the options of strategies.

      • DontLend: entities do not lend idle compute.

      • Lend: entities can lend idle compute to entities that can borrow.

      • LendandBorrow: entities can lend idle compute and borrow idle compute from other entities.

      Default is LendandBorrow.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • strategy

      The strategy of how idle compute is shared within the cluster. The following are the options of strategies.

      • DontLend: entities do not lend idle compute.

      • Lend: entities can lend idle compute to entities that can borrow.

      • LendandBorrow: entities can lend idle compute and borrow idle compute from other entities.

      Default is LendandBorrow.

      Parameters:
      strategy - The strategy of how idle compute is shared within the cluster. The following are the options of strategies.

      • DontLend: entities do not lend idle compute.

      • Lend: entities can lend idle compute to entities that can borrow.

      • LendandBorrow: entities can lend idle compute and borrow idle compute from other entities.

      Default is LendandBorrow.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • borrowLimit

      ResourceSharingConfig.Builder borrowLimit(Integer borrowLimit)

      The limit on how much idle compute can be borrowed.The values can be 1 - 500 percent of idle compute that the team is allowed to borrow.

      Default is 50.

      Parameters:
      borrowLimit - The limit on how much idle compute can be borrowed.The values can be 1 - 500 percent of idle compute that the team is allowed to borrow.

      Default is 50.

      Returns:
      Returns a reference to this object so that method calls can be chained together.