public MetadataCollector addPartitionSizeInBytes(long partitionSize) { estimatedPartitionSize.add(partitionSize); return this; }
public MetadataCollector addPartitionSizeInBytes(long partitionSize) { estimatedPartitionSize.add(partitionSize); return this; }
public MetadataCollector addCellPerPartitionCount(long cellCount) { estimatedCellPerPartitionCount.add(cellCount); return this; }
public MetadataCollector addCellPerPartitionCount(long cellCount) { estimatedCellPerPartitionCount.add(cellCount); return this; }
public MetadataCollector addPartitionSizeInBytes(long partitionSize) { estimatedPartitionSize.add(partitionSize); return this; }
public MetadataCollector addPartitionSizeInBytes(long partitionSize) { estimatedPartitionSize.add(partitionSize); return this; }
public MetadataCollector addCellPerPartitionCount(long cellCount) { estimatedCellPerPartitionCount.add(cellCount); return this; }
public MetadataCollector addCellPerPartitionCount(long cellCount) { estimatedCellPerPartitionCount.add(cellCount); return this; }
public MetadataCollector addRowSize(long rowSize) { estimatedRowSize.add(rowSize); return this; }
public MetadataCollector addColumnCount(long columnCount) { estimatedColumnCount.add(columnCount); return this; }
/** takes nanoseconds **/ public void addNano(long nanos) { // convert to microseconds. 1 millionth latency.update(nanos, TimeUnit.NANOSECONDS); totalLatency.inc(nanos / 1000); totalLatencyHistogram.add(nanos / 1000); recentLatencyHistogram.add(nanos / 1000); for(LatencyMetrics parent : parents) { parent.addNano(nanos); } }
hist.add(values[i]); return hist;
hist.add(values[i]); return hist;
hist.add(values[i]); return hist;
hist.add(values[i]); return hist;
hist.add(values[i]); return hist;