in src/Apache/Ignite/Cache/CacheConfiguration.php [446:461]
public function setPartitionLossPolicy(int $partitionLossPolicy): CacheConfiguration
{
ArgumentChecker::hasValueFrom(
$partitionLossPolicy,
'partitionLossPolicy',
false,
[
self::PARTITION_LOSS_POLICY_READ_ONLY_SAFE,
self::PARTITION_LOSS_POLICY_READ_ONLY_ALL,
self::PARTITION_LOSS_POLICY_READ_WRITE_SAFE,
self::PARTITION_LOSS_POLICY_READ_WRITE_ALL,
self::PARTITION_LOSS_POLICY_IGNORE
]);
$this->properties[self::PROP_PARTITION_LOSS_POLICY] = $partitionLossPolicy;
return $this;
}