NAME
Zing::Registry - Process Registry
ABSTRACT
Generic Process Registry
SYNOPSIS
use Zing::Process;
use Zing::Registry;
my $process = Zing::Process->new;
my $registry = Zing::Registry->new(process => $process);
# $registry->recv($process);
DESCRIPTION
This package provides a process registry for tracking active processes.
INHERITS
This package inherits behaviors from:
LIBRARIES
This package uses type constraints from:
ATTRIBUTES
This package has the following attributes:
name
name(Str)
This attribute is read-only, accepts (Str)
values, and is optional.
METHODS
This package implements the following methods:
drop
drop(Process $proc) : Int
The drop method returns truthy if the process can be dropped from the registry.
recv
recv(Process $proc) : Maybe[HashRef]
The recv method fetches the process metadata (if any) from the registry.
send
send(Process $proc) : Str
The send method commits the process metadata to the registry overwriting any existing data.
term
term(Str @keys) : Str
The term method generates a term (safe string) for the registry.
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".