Version: 2.1.0.12.dev0

cybox.utils.caches module

exception cybox.utils.caches.CacheMiss[source]

Bases: exceptions.Exception

Item was not found in a cache.

cybox.utils.caches.cache_clear()[source]

Clear the global cache

cybox.utils.caches.cache_count()[source]

Get the number of items in the global cache

cybox.utils.caches.cache_get(id_)[source]

Retrieve a value from the global cache

cybox.utils.caches.cache_put(value, id_=None)[source]

Save a value in the global cache