public function flush() {
    $request = new MemcacheFlushRequest();
    $response = new MemcacheFlushResponse();

    try {
      ApiProxy::makeSyncCall('memcache', 'FlushAll', $request, $response);
    } catch (Error $e) {
      return false;
    }
    return true;
  }
public function flush() {
    $request = new MemcacheFlushRequest();
    $response = new MemcacheFlushResponse();

    try {
      ApiProxy::makeSyncCall('memcache', 'FlushAll', $request, $response);
    } catch (Error $e) {
      return false;
    }
    return true;
  }
public function flush ( ) { $ request = new MemcacheFlushRequest ( ) ; $ response = new MemcacheFlushResponse ( ) ; try { ApiProxy :: makeSyncCall ( 'memcache' , 'FlushAll' , $ request , $ response ) ; } catch ( Error $ e ) { return false ; } return true ; }
Removes all items from cache.

@return bool true if all items were removed, false otherwise.
Removes all items from cache .