Class: OpenWFE::CachedFilePersistedEngine
- Inherits:
-
FilePersistedEngine
- Object
- Service
- Engine
- FilePersistedEngine
- OpenWFE::CachedFilePersistedEngine
- Defined in:
- lib/openwfe/engine/file_persisted_engine.rb
Overview
An engine with a cache in front of its file persisted expression storage.
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.
Instance Attribute Summary
Attributes included from ServiceMixin
Attributes included from Contextual
Method Summary
Methods inherited from Engine
#add_workitem_listener, #cancel_expression, #cancel_process, #enable_irb_console, #forget_expression, #get_participant, #get_variables, #initialize, #join, #join_until_idle, #launch, #list_processes, #lookup_processes, #lookup_variable, #pause_process, #pre_launch_check, #process_stack, #register_participant, #replay_at_error, #reply, #reschedule, #resume_process, #stop, #unregister_participant, #update_expression, #update_expression_data, #update_raw_expression, #wait_for
Methods included from StatusMixin
#is_paused?, #process_status, #process_statuses
Methods included from OwfeServiceLocator
#get_engine, #get_error_journal, #get_expool, #get_expression_map, #get_expression_pool, #get_expression_storage, #get_expression_storages, #get_journal, #get_participant_map, #get_scheduler, #get_wfid_generator
Methods inherited from Service
Methods included from ServiceMixin
Methods included from Contextual
#get_work_directory, #init_service, #lookup
Methods included from Logging
#ldebug, #ldebug_callstack, #lerror, #lfatal, #linfo, #llog, #lunknown, #lwarn
Constructor Details
This class inherits a constructor from OpenWFE::Engine