TinyBase logoTinyBase

Lifecycle methods

This is the collection of lifecycle methods within the Persister interface. There are only two lifecycle methods, destroy and schedule.

destroy

The destroy method should be called when this Persister object is no longer used.

schedule

The schedule method allows you to queue up a series of asynchronous actions that must run in sequence during persistence.