MCPcopy Create free account
hub / github.com/parse-community/parse-server / constructor

Method constructor

src/Controllers/CacheController.js:16–20  ·  view source on GitHub ↗
(prefix, cacheController, ttl)

Source from the content-addressed store, hash-verified

14 */
15export class SubCache {
16 constructor(prefix, cacheController, ttl) {
17 this.prefix = prefix;
18 this.cache = cacheController;
19 this.ttl = ttl;
20 }
21
22 get(key) {
23 const cacheKey = joinKeys(this.prefix, key);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected