The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

perfSONAR_PS::LS::General - A module that provides methods for general tasks that LSs need to perform.

DESCRIPTION

This module is a catch all for common methods (for now) of LSs in the perfSONAR-PS framework. As such there is no 'common thread' that each method shares. This module IS NOT an object, and the methods can be invoked directly (and sparingly).

createControlKey($key, $time)

Creates a 'control' key for the control database that keeps track of time.

createLSKey($key, $eventType)

Creates the 'internals' of the metadata that will be returned w/ a key.

createLSData($dataId, $metadataId, $data)

Creates a 'data' block that is stored in the backend storage.

extractQuery($node)

Pulls out the COMPLETE contents of an XQuery subject, this also includes sub elements.

wrapStore($content, $type)

Adds 'store' tags around some content. This is to mimic the way eXist deals with storing XML data. The 'type' argument is used to type the store file.

NOT FOR EXTERNAL USE

SEE ALSO

Params::Validate, perfSONAR_PS::Common

To join the 'perfSONAR-PS' mailing list, please visit:

  https://mail.internet2.edu/wws/info/i2-perfsonar

The perfSONAR-PS subversion repository is located at:

  https://svn.internet2.edu/svn/perfSONAR-PS 
  

Questions and comments can be directed to the author, or the mailing list. Bugs, feature requests, and improvements can be directed here:

  https://bugs.internet2.edu/jira/browse/PSPS

VERSION

$Id: General.pm 1877 2008-03-27 16:33:01Z aaron $

AUTHOR

Jason Zurawski, zurawski@internet2.edu

LICENSE

You should have received a copy of the Internet2 Intellectual Property Framework along with this software. If not, see <http://www.internet2.edu/membership/ip.html>

COPYRIGHT

Copyright (c) 2004-2008, Internet2 and the University of Delaware

All rights reserved.