You are here: Foswiki>System Web>Category>DeveloperDocumentationCategory>PerlDoc (2024-12-23, UnknownUser)Edit Attach
See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview
internal package
Foswiki::Prefs::CacheRAM is a
Foswiki::Prefs::TopicRAMThis is a preference backend used to get preferences defined in a topic and cache them in memory.
ClassMethod
new(@_) Creates a preferences backend object.
ObjectMethod
finish() Break circular references.
ObjectMethod
cacheHits() → $int returns the number of hits to the memory cache
ObjectMethod
getEntry() → \%entry returns a cache entry for the given topic object
ObjectMethod
setEntry() → \%entry stores the private values into the global cache.
ObjectMethod
getModificationTime() → $timestamp returns the file modification time of the topic object
ObjectMethod
invalidate($metaOrPath) this method can be called as an object as well as a class method. If called as a class method the $metaOrPath parameter is mandatory
ObjectMethod
getCacheKey($metaOrPath) → $string this method is an object as well as class method, similar to invalidate(). it returns the key for the current object to cache its preferences for.
Edit | Attach | Print version | History: r1 | Backlinks | View wiki text | Edit wiki text | More topic actions
Topic revision: r1 - 2024-12-23, UnknownUser
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback