NAME
Zing::Types - Type Library
ABSTRACT
Type Library
SYNOPSIS
package main;
use Zing::Types;
1;
DESCRIPTION
This package provides type constraint for the Zing process management system.
LIBRARIES
This package uses type constraints from:
CONSTRAINTS
This package declares the following type constraints:
channel
Channel
This type is defined in the Zing::Types library.
- channel example #1
-
# given: synopsis use Zing::Channel; my $chan = Zing::Channel->new(name => 'share');
data
Data
This type is defined in the Zing::Types library.
- data example #1
-
# given: synopsis use Zing::Data; use Zing::Process; my $data = Zing::Data->new(process => Zing::Process->new);
domain
Domain
This type is defined in the Zing::Types library.
- domain example #1
-
# given: synopsis use Zing::Domain; my $domain = Zing::Domain->new(name => 'exchange');
flow
Flow
This type is defined in the Zing::Types library.
- flow example #1
-
# given: synopsis use Zing::Flow; my $flow = Zing::Flow->new(name => 'step_1', code => sub {1});
fork
Fork
This type is defined in the Zing::Types library.
- fork example #1
-
# given: synopsis use Zing::Fork; use Zing::Process; my $scheme = ['MyApp', [], 1]; my $fork = Zing::Fork->new(scheme => $scheme, parent => Zing::Process->new);
interupt
Interupt
This type is defined in the Zing::Types library.
kernel
Kernel
This type is defined in the Zing::Types library.
- kernel example #1
-
# given: synopsis use Zing::Kernel; my $kernel = Zing::Kernel->new(scheme => ['MyApp', [], 1]);
keyval
KeyVal
This type is defined in the Zing::Types library.
- keyval example #1
-
# given: synopsis use Zing::KeyVal; my $keyval = Zing::KeyVal->new(name => 'notes');
logger
Logger
This type is defined in the Zing::Types library.
logic
Logic
This type is defined in the Zing::Types library.
- logic example #1
-
# given: synopsis use Zing::Logic; use Zing::Process; my $process = Zing::Process->new; my $logic = Zing::Logic->new(process => $process);
loop
Loop
This type is defined in the Zing::Types library.
- loop example #1
-
# given: synopsis use Zing::Flow; use Zing::Loop; my $loop = Zing::Loop->new( flow => Zing::Flow->new(name => 'init', code => sub {1}) );
mailbox
Mailbox
This type is defined in the Zing::Types library.
- mailbox example #1
-
# given: synopsis use Zing::Mailbox; use Zing::Process; my $mailbox = Zing::Mailbox->new(process => Zing::Process->new);
node
Node
This type is defined in the Zing::Types library.
poll
Poll
This type is defined in the Zing::Types library.
- poll example #1
-
# given: synopsis use Zing::Poll; use Zing::KeyVal; my $keyval = Zing::KeyVal->new(name => 'notes'); my $poll = Zing::Poll->new(name => 'last-week', repo => $keyval);
process
Process
This type is defined in the Zing::Types library.
pubsub
PubSub
This type is defined in the Zing::Types library.
- pubsub example #1
-
# given: synopsis use Zing::PubSub; my $pubsub = Zing::PubSub->new(name => 'tasks');
queue
Queue
This type is defined in the Zing::Types library.
redis
Redis
This type is defined in the Zing::Types library.
registry
Registry
This type is defined in the Zing::Types library.
- registry example #1
-
# given: synopsis use Zing::Process; use Zing::Registry; my $process = Zing::Process->new; my $registry = Zing::Registry->new(process => $process);
repo
Repo
This type is defined in the Zing::Types library.
schedule
Schedule
This type is defined in the Zing::Types library.
- schedule example #1
-
# given: synopsis # at 00:00 on day-of-month 1 in january ['0 0 1 1 *', ['task_queue'], { task => 'execute' }];
- schedule example #2
-
# given: synopsis # at 00:00 on saturday ['0 0 * * SAT', ['task_queue'], { task => 'execute' }];
- schedule example #3
-
# given: synopsis # at minute 0 (hourly) ['0 * * * *', ['task_queue'], { task => 'execute' }];
scheme
Scheme
This type is defined in the Zing::Types library.
server
Server
This type is defined in the Zing::Types library.
space
Space
This type is defined in the Zing::Types library.
store
Store
This type is defined in the Zing::Types library.
watcher
Watcher
This type is defined in the Zing::Types library.
worker
Worker
This type is defined in the Zing::Types library.
zing
Zing
This type is defined in the Zing::Types library.
AUTHOR
Al Newkirk, awncorp@cpan.org
LICENSE
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".