Table of Contents

User Comments

General Persistence Slot methods

Methods used to create, use and destroy slots.

opensrf.persist.slot.create( slot_name )

Creates a Persistence Slot.

opensrf.persist.slot.create_expirable( slot_name, expire_interval )

Creates a Persistence Slot that is automatically destroyed after the specified interval.

opensrf.persist.slot.set_expire( slot_name, expire_interval )

Sets or disables the expiration interval on an existing Persistence Slot.

opensrf.persist.slot.destroy( slot_name )

Destroys a Persistence Slot.