NAME
Zing::Meta - Process Metadata
ABSTRACT
Generic Process Metadata
SYNOPSIS
use Zing::Meta;
my $meta = Zing::Meta->new(name => rand);
# $meta->recv;
DESCRIPTION
This package provides process metadata 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() : Int
The drop method returns truthy if the process metadata can be dropped.
recv
recv() : Maybe[HashRef]
The recv method fetches the process metadata (if any).
- recv example #2
-
# given: synopsis use Zing::Process; $meta->send(Zing::Process->new->metadata); $meta->recv;
send
send(HashRef $proc) : Str
The send method commits the metadata provided to the store overwriting any existing data.
- send example #2
-
# given: synopsis use Zing::Process; $meta->drop; $meta->send(Zing::Process->new->metadata);
term
term(Str @keys) : Str
The term method generates a term (safe string) for the metadata.
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".