MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / add

Method add

src/core/ByteBufferList.java:56–59  ·  view source on GitHub ↗

Add a segment to the buffer list. @param buf byte array @param offset offset into buf @param len length of segment, starting at offset

(final byte[] buf, final int offset, final int len)

Source from the content-addressed store, hash-verified

54 * @param len length of segment, starting at offset
55 */
56 public void add(final byte[] buf, final int offset, final int len) {
57 segments.add(new BufferSegment(buf, offset, len));
58 total_length += len;
59 }
60
61 /**
62 * Get the most recently added segment.

Callers 15

validateMethod · 0.45
HistogramCodecManagerMethod · 0.45
nextMethod · 0.45
initializeIfNotDoneMethod · 0.45
resetEndOfIntervalMethod · 0.45
seekIntervalMethod · 0.45
initializeIfNotDoneMethod · 0.45
resetEndOfIntervalMethod · 0.45
seekIntervalMethod · 0.45
validateMethod · 0.45
buildQueriesAsyncMethod · 0.45
resolveTagFiltersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected