Lifecycle methods
This is the collection of lifecycle methods within the FilePersister
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.
getStatus
The getStatus
method lets you find out if the Persister
is currently in the process of loading or saving content.
schedule
The schedule
method allows you to queue up a series of asynchronous actions that must run in sequence during persistence.