GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  JLOG (3)

.ds Aq ’

NAME

JLog - Perl extension for the jlog journaled queueing system

CONTENTS

DESCRIPTION

Parent class for JLog::Reader and JLog::Writer. You probably want to be looking at those instead. JLog is a durable, reliable, publish-and-subscribe queueing system.

INTERFACE

    Subscriber Management

A JLog must have subscribers to be functional. Without a subscriber, a queue may be purged, as there are no interested readers. For this reason it is highly recommended that you add a subscriber before writing to a log.

add_subscriber



  $w->add_subscriber( $name, [ $flag ] );



Add a subscriber to the JLog queue.
$name The name of the subscriber.
$flag An optional flag dictating where the subscriber should be marked interested from. The default is JLog::JLOG_BEGIN. The other available option is JLog::JLOG_END.
remove_subscriber



  $w->remove_subscriber ( $name );



Remove a subscriber to the JLog queue.
$name The name of the subscriber.
list_subscribers



  @subscribers = $w->list_subscribers;



Return a list of all the subscribers to a JLog queue.

    Internals

alter_journal_size

This function is a stub provided for backwards compatibility. It will always return false.
$size The desired size in bytes.
raw_size



  $size = $w->raw_size;



The size of the existing journal (including checkpointed but unpurged messages in the current journal file), in bytes.

SEE ALSO

JLog::Reader JLog::Writer

COPYRIGHT AND LICENSE

Copyright (C) 2006-2008 by Message Systems, Inc.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 JLOG (3) 2015-01-22

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.