java.lang.Object
org.rrd4j.core.RrdNioBackend.StatFileSegment
Enclosing class:
RrdNioBackend

private static class RrdNioBackend.StatFileSegmentextends Object
Helper class representing a buffered stat file segment's location in the temp buffer file.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final int
    Size of the segment's data, in bytes.
    (package private) final long
    Where the segment's data sits in the temp file.
    (package private) final long
    Where the segment's data belongs in the rrd file.
  • Constructor Summary

    Constructors
    Constructor
    Description
    StatFileSegment(long offset, int length, long targetFileOffset)
    Records one segment of the deferred write.
  • Method Summary

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • offset

      final long offset
      Where the segment's data sits in the temp file.
    • length

      final int length
      Size of the segment's data, in bytes.
    • targetFileOffset

      final long targetFileOffset
      Where the segment's data belongs in the rrd file.
  • Constructor Details

    • StatFileSegment

      StatFileSegment(long offset, int length, long targetFileOffset)
      Records one segment of the deferred write.
      Parameters:
      offset - where the data sits in the temp file
      length - the size of the data, in bytes
      targetFileOffset - where the data belongs in the rrd file