NAME
Piper::Config - Configuration object for Piper
SYNOPSIS
# Defaults
use Piper (
batch_size => 200,
logger_class => 'Piper::Logger',
queue_class => 'Piper::Queue',
);
DESCRIPTION
A configuration object, instantiated during import of the Piper module according to any supplied import arguments.
ATTRIBUTES
batch_size
The default batch size used by pipeline segments which do not have a locally defined batch_size
and do not have a parent segment with a defined batch_size
.
The batch_size
attribute must be a positive integer.
The default batch_size
is 200.
logger_class
The logger class is used for printing debug and info statements, issuing warnings, and throwing errors.
The logger_class
attribute must be a valid class that does the role defined by Piper::Role::Logger.
The default logger_class
is Piper::Logger.
queue_class
The queue class handles the queueing of data for each of the pipeline segments.
The queue_class
attribute must be a valid class that does the role defined by Piper::Role::Queue.
The default queue_class
is Piper::Queue.
SEE ALSO
VERSION
version 0.05
AUTHOR
Mary Ehlers <ehlers@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2017 by Mary Ehlers.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004