NAME

OP::RRNode - Circular "Round Robin" Table Rows

DESCRIPTION

Abstract implementation of a circular FIFO object class.

The DB table for a FIFO subclass will never grow beyond the limit set by the subclass's __numRows variable. When the row limit is reached, the oldest rows in the database will begin to be overwritten.

Suitable applications for subclasses include event logging, message queueing, and RRD-style data collection.

INHERITANCE

This class inherits additional class and object methods from the following packages:

OP::Class > OP::Object > OP::Hash > OP::Node > OP::RRNode

SYNOPSIS

use strict;
use warnings;

use OP::Class;

create "OP::RRExample" => {
  __BASE__  => "OP::RRNode",
  __numRows => 250000
}

SEE ALSO

This file is part of OP.

REVISION

$Id: //depotit/tools/source/snitchd-0.20/lib/OP/RRNode.pm#6 $