Difference between revisions of "Ns cache flush"

From AOLserver Wiki
Jump to navigation Jump to search
(imported from WiKit id 1285)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Overview
+
'''NAME'''
Remove cache entry
+
: '''ns_cache_flush''' − Flush all keys in the specified cache
  
Syntax
+
'''SYNOPSIS'''
ns_cache_flush cache key
+
: '''ns_cache flush''' ''cachename''
  
Description
+
'''DESCRIPTION'''
This function removes the cache entry specified by key from the cache specified by cache.
+
: This command will flush (delete) the entire cache specified.
 +
 
 +
'''NOTES'''
 +
: Note that it is possible to specify a specific cache entry key name, in which case, this command would be similar to [[ns_cache]] flush, except it does not detect an in progress creation of an entry by ns_cache eval and therefore this option should not be used.
 +
 
 +
 
 +
'''SEE ALSO'''
 +
: [[ns_cache]]
 +
 
 +
[[Category Documentation]] - [[Category Core Tcl API]]

Latest revision as of 01:21, 27 October 2009

NAME

ns_cache_flush − Flush all keys in the specified cache

SYNOPSIS

ns_cache flush cachename

DESCRIPTION

This command will flush (delete) the entire cache specified.

NOTES

Note that it is possible to specify a specific cache entry key name, in which case, this command would be similar to ns_cache flush, except it does not detect an in progress creation of an entry by ns_cache eval and therefore this option should not be used.


SEE ALSO

ns_cache

Category Documentation - Category Core Tcl API