Opened 15 years ago

Closed 15 years ago

#1321 closed enhancement (fixed)

Add exists() and size() to StaticCache

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: minor Milestone: BASE 2.13
Component: core Version:
Keywords: Cc:

Description

The exists() method should return a boolean indicating if a cache entry exists or not and the size() method should return the size in bytes of the cached entry or -1 if it doesn't exists.

Change History (2)

comment:1 by Nicklas Nordborg, 15 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 by Nicklas Nordborg, 15 years ago

Resolution: fixed
Status: assignedclosed

(In [4976]) Fixes #1321: Add exists() and size() to StaticCache

And also added a support function that creates a valid cache key.

Note: See TracTickets for help on using tickets.