|
From: <gne...@us...> - 2009-01-31 22:16:39
|
Update of /cvsroot/aolserver/aolserver/doc In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16532/doc Modified Files: ns_cache.n Log Message: - Fixed behavior such that 'return' in 'ns_cache eval' works like described in the documentation and in the old nscache module. - Added documentation of optional 'pattern' argument for 'ns_cache names'. Index: ns_cache.n =================================================================== RCS file: /cvsroot/aolserver/aolserver/doc/ns_cache.n,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ns_cache.n 13 Apr 2006 19:05:43 -0000 1.5 --- ns_cache.n 31 Jan 2009 21:35:08 -0000 1.6 *************** *** 50,54 **** \fBns_cache incr \fIcachename key ?value?\fR \fBns_cache lappend \fIcachename key string ?string ...?\fR ! \fBns_cache names \fIcachename\fR \fBns_cache set \fIcachename key string\fR .fi --- 50,54 ---- \fBns_cache incr \fIcachename key ?value?\fR \fBns_cache lappend \fIcachename key string ?string ...?\fR ! \fBns_cache names \fIcachename ?pattern?\fR \fBns_cache set \fIcachename key string\fR .fi *************** *** 119,124 **** value and returns 1, otherwise it returns 0. .TP ! \fBns_cache names \fIcachename\fR This command returns a list of all keys currently in the specified cache. If the cache is thread-private, then the list only includes keys that --- 119,126 ---- value and returns 1, otherwise it returns 0. .TP ! \fBns_cache names \fIcachename ?pattern?\fR This command returns a list of all keys currently in the specified cache. + If \fIpattern\fR is specified, only matching entries are returned + (match pattern syntax like in \fBstring match\fR). If the cache is thread-private, then the list only includes keys that |