NAME

Directory::Queue::Base - base class and common code for the Directory::Queue modules

DESCRIPTION

This module provides a base class as well as common code for the Directory::Queue modules.

It is used internally by the Directory::Queue modules and should not be used elsewhere.

METHODS

Here are the methods available in the base class:

new(PATH)

return a new object (class method)

copy()

return a copy of the object

path()

return the queue toplevel path

id()

return a unique identifier for the queue

first()

return the first element in the queue, resetting the iterator; return an empty string if the queue is empty

next()

return the next element in the queue, incrementing the iterator; return an empty string if there is no next element

touch(ELEMENT)

update the element's access and modification times to indicate that it is still being used

AUTHOR

Lionel Cons http://cern.ch/lionel.cons

Copyright CERN 2010-2011