public class

RrdBerkeleyDbBackend

extends RrdByteArrayBackend
java.lang.Object
   ↳ org.rrd4j.core.RrdBackend
     ↳ org.rrd4j.core.RrdByteArrayBackend
       ↳ org.rrd4j.core.RrdBerkeleyDbBackend

Class Overview

Backend which is used to store RRD data to ordinary disk files using Oracle Berkeley DB Java Edition.

Summary

Protected Constructors
RrdBerkeleyDbBackend(String path, Database rrdDatabase)
RrdBerkeleyDbBackend(byte[] buffer, String path, Database rrdDatabase)
Public Methods
void close()
This method is required by the base class definition, but it does not releases any memory resources at all.
Protected Methods
synchronized void write(long offset, byte[] bytes)
Writes an array of bytes to the underlying storage starting from the given storage offset.
[Expand]
Inherited Methods
From class org.rrd4j.core.RrdByteArrayBackend
From class org.rrd4j.core.RrdBackend
From class java.lang.Object

Protected Constructors

protected RrdBerkeleyDbBackend (String path, Database rrdDatabase)

protected RrdBerkeleyDbBackend (byte[] buffer, String path, Database rrdDatabase)

Public Methods

public void close ()

This method is required by the base class definition, but it does not releases any memory resources at all.

Throws
IOException

Protected Methods

protected synchronized void write (long offset, byte[] bytes)

Writes an array of bytes to the underlying storage starting from the given storage offset.

Parameters
offset Storage offset.
bytes Array of bytes that should be copied to the underlying storage
Throws
IOException