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:
app
App
This type is defined in the Zing::Types library.
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');
cli
Cli
This type is defined in the Zing::Types library.
cursor
Cursor
This type is defined in the Zing::Types library.
- cursor example #1
-
# given: synopsis use Zing::Cursor; use Zing::Lookup; my $cursor = Zing::Cursor->new( lookup => Zing::Lookup->new( name => 'people' ) );
daemon
Daemon
This type is defined in the Zing::Types library.
- daemon example #1
-
# given: synopsis use Zing::Cartridge; use Zing::Daemon; my $daemon = Zing::Daemon->new( cartridge => Zing::Cartridge->new(name => 'myapp') );
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(name => 'random');
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');
encoder
Encoder
This type is defined in the Zing::Types library.
entity
Entity
This type is defined in the Zing::Types library.
env
Env
This type is defined in the Zing::Types library.
error
Error
This type is defined in the Zing::Types library.
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);
id
ID
This type is defined in the Zing::Types library.
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]);
key
Key
This type is defined in the Zing::Types library.
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 $logic = Zing::Logic->new(process => Zing::Process->new);
lookup
Lookup
This type is defined in the Zing::Types library.
- lookup example #1
-
# given: synopsis use Zing::Lookup; my $lookup = Zing::Lookup->new( name => 'users' );
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(name => 'shared');
meta
Meta
This type is defined in the Zing::Types library.
name
Name
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.
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.
search
Search
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.
table
Table
This type is defined in the Zing::Types library.
- table example #1
-
# given: synopsis use Zing::Table; my $table = Zing::Table->new( name => 'users' );
term
Term
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".