TinyBase logoTinyBase

Lifecycle methods

This is the collection of lifecycle methods within the PostgresPersister interface. There are only three lifecycle methods, destroy, getStatus, and schedule.

destroy

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

Read more

getStatus

The getStatus method lets you find out if the Persister is currently in the process of loading or saving content.

Read more

schedule

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

Read more