Cloud Bigtable V2 Client - Class LeastInFlight (2.24.0)

Reference documentation and code samples for the Cloud Bigtable V2 Client class LeastInFlight.

Balances vRPCs over backends, preferring to send new vRPCs to AFEs with the least number of active vRPCs.

Generated from protobuf message google.bigtable.v2.LoadBalancingOptions.LeastInFlight

Namespace

Google \ Cloud \ Bigtable \ V2 \ LoadBalancingOptions

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ random_subset_size int|string

Of all connected AFEs, the size of the random subset to run the algorithm on. Zero implies all connected AFEs.

getRandomSubsetSize

Of all connected AFEs, the size of the random subset to run the algorithm on. Zero implies all connected AFEs.

Returns
Type Description
int|string

setRandomSubsetSize

Of all connected AFEs, the size of the random subset to run the algorithm on. Zero implies all connected AFEs.

Parameter
Name Description
var int|string
Returns
Type Description
$this