Cloud Bigtable V2 Client - Class LoadBalancingOptions (2.24.0)

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

Configuration for how to balance vRPCs over sessions. Internal usage only.

Generated from protobuf message google.bigtable.v2.LoadBalancingOptions

Namespace

Google \ Cloud \ Bigtable \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ least_in_flight LoadBalancingOptions\LeastInFlight
↳ peak_ewma LoadBalancingOptions\PeakEwma
↳ random LoadBalancingOptions\Random

getLeastInFlight

Generated from protobuf field .google.bigtable.v2.LoadBalancingOptions.LeastInFlight least_in_flight = 1;

Returns
Type Description
LoadBalancingOptions\LeastInFlight|null

hasLeastInFlight

setLeastInFlight

Generated from protobuf field .google.bigtable.v2.LoadBalancingOptions.LeastInFlight least_in_flight = 1;

Parameter
Name Description
var LoadBalancingOptions\LeastInFlight
Returns
Type Description
$this

getPeakEwma

Generated from protobuf field .google.bigtable.v2.LoadBalancingOptions.PeakEwma peak_ewma = 2;

Returns
Type Description
LoadBalancingOptions\PeakEwma|null

hasPeakEwma

setPeakEwma

Generated from protobuf field .google.bigtable.v2.LoadBalancingOptions.PeakEwma peak_ewma = 2;

Parameter
Name Description
var LoadBalancingOptions\PeakEwma
Returns
Type Description
$this

getRandom

Generated from protobuf field .google.bigtable.v2.LoadBalancingOptions.Random random = 4;

Returns
Type Description
LoadBalancingOptions\Random|null

hasRandom

setRandom

Generated from protobuf field .google.bigtable.v2.LoadBalancingOptions.Random random = 4;

Parameter
Name Description
var LoadBalancingOptions\Random
Returns
Type Description
$this

getLoadBalancingStrategy

Returns
Type Description
string