Class OpenWFE::FilePersistedEngine
In: lib/openwfe/engine/file_persisted_engine.rb
Parent: Engine

An engine persisted to a tree of yaml files.

Remember that once you have added the participants to a persisted engine, you should call its reload method, to reschedule expressions like ‘sleep’, ‘cron’, … But if you do it before registering the participants you‘ll end up with broken processes.

Methods

Protected Instance methods

Uses a file persisted error journal.

[Source]

    # File lib/openwfe/engine/file_persisted_engine.rb, line 71
71:             def build_error_journal ()
72: 
73:                 init_service S_ERROR_JOURNAL, YamlErrorJournal
74:             end

Overrides the method already found in Engine with a persisted expression storage

[Source]

    # File lib/openwfe/engine/file_persisted_engine.rb, line 63
63:             def build_expression_storage ()
64: 
65:                 init_service S_EXPRESSION_STORAGE, YamlFileExpressionStorage
66:             end

[Validate]