Constructor
Directory path where various run-time files are kept. Defaults to state/.
Returns the saved status
Example: status => { 'is_my_pid' => 0, 'is_running' => 1, 'save_ts' => 1370987265, 'task_count' => 1, 'fd_count' => 5, 'cmdline' => '/usr/bin/perlbin/MultiModule-qtqueue-pMultiModuleTest::-oalert:test_alert_queue,this:that-mOtherExternalModule', 'stat' => '3577 (MultiModule) S 1 13564 19489 34848 13564 4202496 3202 0 0 0 16 3 0 0 20 0 1 0 36033429 71139328 2949 18446744073709551615 4194304 4198756 140735555873936 140735555873176 139685157236755 0 0 4096 16384 18446744071580469929 0 0 17 2 0 0 0 0 0 ', 'pid' => 3577, 'statm' => '17368 2949 624 2 0 5133 0 },
Return the tasks's config.
Example: config => { 'increment_by' => 8427, 'is_external' => 1 };
Returns the saved state
Example: state => '.multimodule' => { 'save_ts' => 1370987685 }, 'most_recent' => 10246, 'sum_increment_by' => 6585
}
Causes a task to no longer be failsafe
Marks a task as failsafed.
Returns 'true' if the task is failsafe
Save the task status.
Save the task state.
Return an array of state files.
Save the task config.
Send specified signal to task.
To install App::MultiModule, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::MultiModule
CPAN shell
perl -MCPAN -e shell install App::MultiModule
For more information on module installation, please visit the detailed CPAN module installation guide.