Pike v8.1 release 6

Method Cache.Storage.Base()->first()


Method first

int(0..0)|string first()
int(0..0)|string next()

Description

These two functions are an iterator over the cache. There is an internal cursor, which is reset by each call to first(). Subsequent calls to next() will iterate over all the contents of the cache.

These functions are not meant to be exported to the user, but are solely for the policy managers' benefit.