public class ToXdr extends Object
| Constructor and Description |
|---|
ToXdr() |
| Modifier and Type | Method and Description |
|---|---|
static bitset |
bitset(boolean[] bits) |
static bitset |
createPresenceBitset(gnu.trove.set.TIntSet have,
int timestampsSize) |
static file_segment |
filePos(FilePos pos) |
static histogram |
histogram(Histogram h) |
static metric_value |
metricValue(MetricValue mv,
Function<String,Integer> strAlloc) |
static timestamp_delta |
timestamp_delta(long[] timestamps) |
static timestamp_msec |
timestamp(org.joda.time.DateTime ts) |
static timestamp_msec |
timestamp(long ts) |
public static timestamp_msec timestamp(org.joda.time.DateTime ts)
public static timestamp_msec timestamp(long ts)
public static file_segment filePos(FilePos pos)
public static metric_value metricValue(MetricValue mv, Function<String,Integer> strAlloc)
public static timestamp_delta timestamp_delta(long[] timestamps)
public static bitset bitset(boolean[] bits)
public static bitset createPresenceBitset(gnu.trove.set.TIntSet have, int timestampsSize)
Copyright © 2017. All rights reserved.