|
NAMEDirectory::Queue::Null - object oriented interface to a null directory based queueSYNOPSISuse Directory::Queue::Null; $dirq = Directory::Queue::Null->new(); foreach $count (1 .. 100) { $name = $dirq->add(... some data ...); } DESCRIPTIONThe goal of this module is to offer a "null" queue system using the same API as the other directory queue implementations. The queue will behave like a black hole: added data will disappear immediately so the queue will therefore always appear empty.This can be used for testing purposes or to discard data like one would do on Unix by redirecting output to "/dev/null". Please refer to Directory::Queue for general information about directory queues. CONSTRUCTORThe new() method can be used to create a Directory::Queue::Null object that will later be used to interact with the queue. No attributes are supported.METHODSThe following methods are available:
The following methods are available to provide the same API as the other directory queue modules but they will always return an error as they cannot be legitimately called since the queue is always empty:
DIRECTORY STRUCTUREThis module does not store any file.SEE ALSODirectory::Queue, Directory::Queue::Normal, Directory::Queue::Simple.AUTHORLionel Cons <http://cern.ch/lionel.cons>Copyright (C) CERN 2010-2021
Visit the GSP FreeBSD Man Page Interface. |