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.

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

Previous topic

cybox.utils.autoentity module

Next topic

cybox.utils.idgen module

This Page

Related Documentation