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
JLog(3) User Contributed Perl Documentation JLog(3)

JLog - Perl extension for the jlog journaled queueing system

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.

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.

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.

JLog::Reader JLog::Writer

Copyright (C) 2006-2008 by Message Systems, Inc.
2015-01-22 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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