original_string: protected function ensure_cachelock_available() {
          if ($this->cachelockinstance === null) {
              $this->cachelockinstance = cache_helper::get_cachelock_for_store($this->get_store());
          }
      }
code: protected function ensure_cachelock_available() {
          if ($this->cachelockinstance === null) {
              $this->cachelockinstance = cache_helper::get_cachelock_for_store($this->get_store());
          }
      }
code_tokens: protected function ensure_cachelock_available ( ) { if ( $ this -> cachelockinstance === null ) { $ this -> cachelockinstance = cache_helper :: get_cachelock_for_store ( $ this -> get_store ( ) ) ; } }
docstring: Ensure that the dedicated lock store is ready to go.
  
  This should only happen if the cache store doesn't natively support it.
docstring_tokens: Ensure that the dedicated lock store is ready to go .