NAME

cPanel::TQSerializer::YAML - Store TaskQueue state in a YAML file

DESCRIPTION

Used internally by the cPanel::TaskQueue and cPanel::TaskQueue::Scheduler classes to store state information to disk.

INTERFACE

$serial->load( $fh )

Loads an array of items from a YAML file referenced by the filehandle $fh and returns the list.

$serial->save( $fh, @list_to_store )

Saves an array of items into a YAML file referenced by the filehandle $fh.

$serial->filename( $stub )

Given the stub of a filename, return the name with an appropriate extension for this serializer.

CONFIGURATION AND ENVIRONMENT

ModName requires no configuration files or environment variables.

INCOMPATIBILITIES

None reported.

BUGS AND LIMITATIONS

No bugs have been reported.

AUTHOR

G. Wade Johnson wade@cpanel.net

LICENSE AND COPYRIGHT

Copyright (c) 2012, cPanel, Inc. All rights reserved. This code is subject to the cPanel license. Unauthorized copying is prohibited