MCPcopy Create free account
hub / github.com/OpenTSDB/opentsdb / segmentCount

Method segmentCount

src/core/ByteBufferList.java:79–81  ·  view source on GitHub ↗

Get the number of segments that have added to this buffer list. @return the segment count

()

Source from the content-addressed store, hash-verified

77 * @return the segment count
78 */
79 public int segmentCount() {
80 return segments.size();
81 }
82
83 /**
84 * Get the accumulated bytes as a single byte array (may be a zero-byte array if empty).

Callers 2

compactMethod · 0.95
buildCompactedColumnMethod · 0.80

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected