panko.storage.impl_mongodb Module¶MongoDB storage backend
panko.storage.impl_mongodb.Connection(url, conf)[source]¶Bases: panko.storage.pymongo_base.Connection
Put the event data into a MongoDB database.
clear_expired_data(ttl)[source]¶Clear expired data from the backend storage system.
Clearing occurs according to the time-to-live.
| Parameters: | ttl – Number of seconds to keep records for. |
|---|
update_ttl(ttl, ttl_index_name, index_field, coll)[source]¶Update or create time_to_live indexes.
| Parameters: |
|
|---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.