/** * @param $key * @param $value */ private function storeChildTask($key, $value) { $this->semaphore->lock(); $this->storageSystem->store($key, $value); $this->semaphore->unLock(); }