Class RobinArray

java.lang.Object
org.rrd4j.core.RobinArray
All Implemented Interfaces:
Robin, RrdUpdater<Robin>

class RobinArray
extends Object
implements Robin
Class to represent archive values for a single datasource. Robin class is the heart of the so-called "round robin database" concept. Basically, each Robin object is a fixed length array of double values. Each double value represents consolidated, archived value for the specific timestamp. When the underlying array of double values gets completely filled, new values will replace the oldest ones.

Robin object does not hold values in memory - such object could be quite large. Instead of it, Robin reads them from the backend I/O only when necessary.

Author:
Sasa Markovic