class BackendServiceFailoverPolicy extends Model (View source)

Properties

bool $disableConnectionDrainOnFailover
bool $dropTrafficIfUnhealthy
float $failoverRatio

Methods

setDisableConnectionDrainOnFailover($disableConnectionDrainOnFailover)

No description

bool
setDropTrafficIfUnhealthy($dropTrafficIfUnhealthy)

No description

bool
getDropTrafficIfUnhealthy()

No description

setFailoverRatio($failoverRatio)

No description

float
getFailoverRatio()

No description

Details

setDisableConnectionDrainOnFailover($disableConnectionDrainOnFailover)

No description

Parameters

$disableConnectionDrainOnFailover

bool getDisableConnectionDrainOnFailover()

No description

Return Value

bool

setDropTrafficIfUnhealthy($dropTrafficIfUnhealthy)

No description

Parameters

$dropTrafficIfUnhealthy

bool getDropTrafficIfUnhealthy()

No description

Return Value

bool

setFailoverRatio($failoverRatio)

No description

Parameters

$failoverRatio

float getFailoverRatio()

No description

Return Value

float