You are here

protected function MemcacheBackend::getBinLastDeletionTime in Memcache API and Integration 8.2

Gets the last invalidation time for the bin.

@internal

Return value

float The last invalidation timestamp of the tag.

2 calls to MemcacheBackend::getBinLastDeletionTime()
MemcacheBackend::ensureBinDeletionTimeIsSet in src/MemcacheBackend.php
Ensures a last bin deletion time has been set.
MemcacheBackend::timeIsGreaterThanBinDeletionTime in src/MemcacheBackend.php
Determines if a (micro)time is greater than the last bin deletion time.

File

src/MemcacheBackend.php, line 461

Class

MemcacheBackend
Defines a Memcache cache backend.

Namespace

Drupal\memcache

Code

protected function getBinLastDeletionTime() {
  if (!isset($this->lastBinDeletionTime)) {
    $this->lastBinDeletionTime = $this->timestampInvalidator
      ->getLastInvalidationTimestamp($this->bin);
  }
  return $this->lastBinDeletionTime;
}