Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

CachingWithPython

Implement a simple cache that implements these methods:

Set: it takes 3 parameters; the key for the data, the data to cache and the lifetime for the data (ttl)

Get: it takes 1 parameter; the key to retreive.

Evict: it takes 1 parameter; the key to evict from the cache.

Requirement:

Store data in the cache and retrieve it within the lifetime period, if I try to access a data after its lifetime has expired, it should return null.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages