protected function MemcacheTimestampInvalidator::writeTimestamp in Memcache API and Integration 8.2
Write an updated timestamp for a tag to the backend.
Parameters
string $tag: Tag to write.
float $timestamp: New timestamp to write.
Return value
bool Success or failure from backend.
Overrides TimestampInvalidatorBase::writeTimestamp
File
- src/
Invalidator/ MemcacheTimestampInvalidator.php, line 58
Class
- MemcacheTimestampInvalidator
- Class MemcacheTimestampInvalidator.
Namespace
Drupal\memcache\InvalidatorCode
protected function writeTimestamp($tag, $timestamp) {
return $this->memcache
->set($tag, $timestamp);
}