public function updatePingableFlag()
{
$collections = $this->_cache->getCollections(false);
foreach ($collections as $id => $collection) {
if (!empty($this->_collections[$id]['synckey'])) {
$this->_logger->info(sprintf('Setting collection %s (%s) PINGABLE.', $collection['serverid'], $id));
$this->_cache->setPingableCollection($id);
} else {
$this->_logger->info(sprintf('UNSETTING collection %s (%s) PINGABLE flag.', $collection['serverid'], $id));
$this->_cache->removePingableCollection($id);
}
}
}