Zing/Scheduler.pm untested

filter: Statementstmt 0.0% 0 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 29 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Zing::Scheduler;
2  
3 use 5.014;
4  
5 use strict;
6 use warnings;
7  
8 use registry 'Zing::Types';
9 use routines;
10  
11 use Data::Object::Class;
12  
13 extends 'Zing::Launcher';
14  
15 our $VERSION = '0.26'; # VERSION
16  
17 # METHODS
18  
19 method queues() {
20 ['$scheduled']
21 }
22  
23 1;
24  
25 =encoding utf8
26  
27 =head1 NAME
28  
29 Zing::Scheduler - Scheme Launcher
30  
31 =cut
32  
33 =head1 ABSTRACT
34  
35 Default Scheme Launcher
36  
37 =cut
38  
39 =head1 SYNOPSIS
40  
41 use Zing::Scheduler;
42  
43 my $scheduler = Zing::Scheduler->new;
44  
45 # $scheduler->execute;
46  
47 =cut
48  
49 =head1 DESCRIPTION
50  
51 This package provides a local (node-specific, not cluster-wide) launcher
52 process which is a type of worker process which loads, instantiates, and
53 executes L<"schemes"|Zing::Types/scheme>.
54  
55 =cut
56  
57 =head1 INHERITS
58  
59 This package inherits behaviors from:
60  
61 L<Zing::Launcher>
62  
63 =cut
64  
65 =head1 LIBRARIES
66  
67 This package uses type constraints from:
68  
69 L<Zing::Types>
70  
71 =cut
72  
73 =head1 METHODS
74  
75 This package implements the following methods:
76  
77 =cut
78  
79 =head2 queues
80  
81 queues() : ArrayRef[Str]
82  
83 The queues method executes something which triggers something else.
84  
85 =over 4
86  
87 =item queues example #1
88  
89 # given: synopsis
90  
91 my $queues = $scheduler->queues;
92  
93 =back
94  
95 =cut
96  
97 =head1 AUTHOR
98  
99 Al Newkirk, C<awncorp@cpan.org>
100  
101 =head1 LICENSE
102  
103 Copyright (C) 2011-2019, Al Newkirk, et al.
104  
105 This is free software; you can redistribute it and/or modify it under the terms
106 of the The Apache License, Version 2.0, as elucidated in the L<"license
107 file"|https://github.com/iamalnewkirk/zing/blob/master/LICENSE>.
108  
109 =head1 PROJECT
110  
111 L<Wiki|https://github.com/iamalnewkirk/zing/wiki>
112  
113 L<Project|https://github.com/iamalnewkirk/zing>
114  
115 L<Initiatives|https://github.com/iamalnewkirk/zing/projects>
116  
117 L<Milestones|https://github.com/iamalnewkirk/zing/milestones>
118  
119 L<Contributing|https://github.com/iamalnewkirk/zing/blob/master/CONTRIBUTE.md>
120  
121 L<Issues|https://github.com/iamalnewkirk/zing/issues>
122  
123 =cut