java.lang.Object
org.rrd4j.core.RrdNioBackend.StatFileSegment
- Enclosing class:
RrdNioBackend
Helper class representing a buffered stat file segment's location in the temp buffer file.
Field Summary
FieldsModifier and TypeFieldDescription(package private) final intSize of the segment's data, in bytes.(package private) final longWhere the segment's data sits in the temp file.(package private) final longWhere the segment's data belongs in the rrd file.Constructor Summary
ConstructorsConstructorDescriptionStatFileSegment(long offset, int length, long targetFileOffset) Records one segment of the deferred write.Method Summary
Field Details
offset
final long offsetWhere the segment's data sits in the temp file.length
final int lengthSize of the segment's data, in bytes.targetFileOffset
final long targetFileOffsetWhere 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 filelength- the size of the data, in bytestargetFileOffset- where the data belongs in the rrd file