You are here

protected function FeedsSource::releaseLock in Feeds 8.2

Releases a lock for this source.

3 calls to FeedsSource::releaseLock()
FeedsSource::clear in lib/Drupal/feeds/FeedsSource.php
Remove all items from a feed.
FeedsSource::expire in lib/Drupal/feeds/FeedsSource.php
Removes all expired items from a feed.
FeedsSource::import in lib/Drupal/feeds/FeedsSource.php
Import a source: execute fetching, parsing and processing stage.

File

lib/Drupal/feeds/FeedsSource.php, line 658
Definition of FeedsSourceInterface and FeedsSource class.

Class

FeedsSource
This class encapsulates a source of a feed. It stores where the feed can be found and how to import it.

Namespace

Drupal\feeds

Code

protected function releaseLock() {
  lock()
    ->release("feeds_source_{$this->id}_{$this->feed_nid}");
}