You are here

public function TimestampInvalidatorBase::__construct in Memcache API and Integration 8.2

TimestampInvalidatorBase constructor.

Parameters

float $tolerance: Allowed clock skew between servers, in decimal seconds.

1 call to TimestampInvalidatorBase::__construct()
MemcacheTimestampInvalidator::__construct in src/Invalidator/MemcacheTimestampInvalidator.php
MemcacheTimestampInvalidator constructor.
1 method overrides TimestampInvalidatorBase::__construct()
MemcacheTimestampInvalidator::__construct in src/Invalidator/MemcacheTimestampInvalidator.php
MemcacheTimestampInvalidator constructor.

File

src/Invalidator/TimestampInvalidatorBase.php, line 27

Class

TimestampInvalidatorBase
Class TimestampInvalidatorBase.

Namespace

Drupal\memcache\Invalidator

Code

public function __construct($tolerance = 0.001) {
  $this->tolerance = $tolerance;
}