Use this API to delete cacheforwardproxy resources of given names.
161429
public static base_responses delete(nitro_service client, String ipaddress[]) throws Exception {
		base_responses result = null;
		if (ipaddress != null && ipaddress.length > 0) {
			cacheforwardproxy deleteresources[] = new cacheforwardproxy[ipaddress.length];
			for (int i=0;i<ipaddress.length;i++){
				deleteresources[i] = new cacheforwardproxy();
				deleteresources[i].ipaddress = ipaddress[i];
			}
			result = delete_bulk_request(client, deleteresources);
		}
		return result;
	}
320677
public function clearReverseProxyCache()
    {
        if (class_exists('\OxidEsales\VarnishModule\Core\OeVarnishModule', false)) {
            \OxidEsales\VarnishModule\Core\OeVarnishModule::flushReverseProxyCache();
        }
        if (class_exists('\OxidEsales\EshopEnterprise\Core\Cache\ReverseProxy\ReverseProxyBackend', false)) {
            $oReverseProxy = oxNew(\OxidEsales\EshopEnterprise\Core\Cache\ReverseProxy\ReverseProxyBackend::class);
            $oReverseProxy->setFlush();
            $oReverseProxy->execute();
        }
        if (class_exists('\OxidEsales\NginxModule\Core\Module', false)) {
            \OxidEsales\NginxModule\Core\Module::clearNginxCache();
        }
    }
810960
public void removeAlias(String cacheName, Object alias) {
        if (alias != null) {
            DCache cache = ServerCache.getCache(cacheName);
            if (cache != null) {
                try {
                    cache.removeAlias(alias, false, false);
                } catch (IllegalArgumentException e) {
                    if (tc.isDebugEnabled()) {
                        Tr.debug(tc, "Removing alias " + alias + " failure: " + e.getMessage());
                    }
                }
            }
        }
    }
876351
public static base_responses delete(nitro_service client, String fipskeyname[]) throws Exception {
		base_responses result = null;
		if (fipskeyname != null && fipskeyname.length > 0) {
			sslfipskey deleteresources[] = new sslfipskey[fipskeyname.length];
			for (int i=0;i<fipskeyname.length;i++){
				deleteresources[i] = new sslfipskey();
				deleteresources[i].fipskeyname = fipskeyname[i];
			}
			result = delete_bulk_request(client, deleteresources);
		}
		return result;
	}
490090
protected void pruneCache() {
        final long expired = System.currentTimeMillis() - timeToLive;
        this.cacheMap.values().removeIf(entry -> entry.createTime < expired);
    }
457575
public static void removeAllJ2CIdentityServices() {
        j2cIdentityServices.clear();
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, "All the J2CIdentityService implementations were removed.");
        }
    }
463463
def delete_resource(resource_name, key, identifier_fields, profile='pagerduty', subdomain=None, api_key=None):
    '''
    

    '''
    resource = get_resource(resource_name, key, identifier_fields, profile, subdomain, api_key)
    if resource:
        if __opts__['test']:
            return 'would delete'
        # flush the resource_cache, because we're modifying a resource
        del __context__['pagerduty_util.resource_cache'][resource_name]
        resource_id = _get_resource_id(resource)
        return _query(method='DELETE', action='{0}/{1}'.format(resource_name, resource_id), profile=profile, subdomain=subdomain, api_key=api_key)
    else:
        return True
427627
def delete_cached_files(self, prefixes=[], suffixes=[]):
        
        for filename in listdir(self.cache_directory_path):
            delete = (
                any([filename.endswith(ext) for ext in suffixes]) or
                any([filename.startswith(pre) for pre in prefixes]))
            if delete:
                path = join(self.cache_directory_path, filename)
                logger.info("Deleting %s", path)
                remove(path)
1033523
public void removeAll() {
    LOGGER.debug("Removing {} reverse connections from subscription manager", reverse.size());
    Iterator<HomekitClientConnection> i = reverse.keySet().iterator();
    while (i.hasNext()) {
      HomekitClientConnection connection = i.next();
      LOGGER.debug("Removing connection {}", connection.hashCode());
      removeConnection(connection);
    }
    LOGGER.debug("Subscription sizes are {} and {}", reverse.size(), subscriptions.size());
  }
316846
def purge(self, name=None):
        
        self.disconnect(name)

        if name in self._connections:
            del self._connections[name]
952782
public static base_responses delete(nitro_service client, String aliasname[]) throws Exception {
		base_responses result = null;
		if (aliasname != null && aliasname.length > 0) {
			dnscnamerec deleteresources[] = new dnscnamerec[aliasname.length];
			for (int i=0;i<aliasname.length;i++){
				deleteresources[i] = new dnscnamerec();
				deleteresources[i].aliasname = aliasname[i];
			}
			result = delete_bulk_request(client, deleteresources);
		}
		return result;
	}
28627
def clear_cache(self, path, filter_name=None):
        
        if filter_name:
            self._adapter.remove_cached_item('%s/%s' % (filter_name, path))
        else:
            for filter_name in self._filter_sets:
                self._adapter.remove_cached_item('%s/%s' % (filter_name, path))
452716
public void destroy() {
        WaylandClientCore.INSTANCE()
                         .wl_proxy_destroy(this.pointer);
        ObjectCache.remove(this.pointer);
        this.jObjectPointer.close();
    }
596542
public void clearAllCaches() {
        logger.warn("beginning request to clear all caches");
        for (final String cacheName : this.cacheManager.getCacheNames()) {
            clearCache(cacheName);
        }
        logger.warn("completed request to clear all caches");
    }
1238659
public void dropCaches() {
    if (use_lru) {
      lru_name_cache.invalidateAll();
      lru_id_cache.invalidateAll();
    } else {
      name_cache.clear();
      id_cache.clear();
    }
  }
1047049
public static synchronized void clear() {
        for (final Map.Entry<String, Cache> entry : CACHES.entrySet()) {
            final Cache cache = entry.getValue();
            cache.clear();
            LOGGER.log(Level.TRACE, "Cleared cache [name={0}]", entry.getKey());
        }
    }
572188
private void cleanupIfNeccessary(JsonGetterContext excluded) {
        int cacheCount;
        while ((cacheCount = internalCache.size()) > maxContexts) {
            int sampleCount = Math.max(cacheCount - maxContexts, cleanupRemoveAtLeastItems) + 1;
            for (SamplingEntry sample: internalCache.getRandomSamples(sampleCount)) {
                if (excluded != sample.getEntryValue()) {
                    internalCache.remove(sample.getEntryKey());
                }
            }
        }
    }