Warning
This documentation is still a work in progress. If you have any issues or
questions, please ask on the cybox-discussion mailing list or file a bug
in our issue tracker.
-
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