APISonar


org.onosproject.net.statistic.Load.time

> org > onosproject > net > statistic > Load > time
org APIs onosproject APIs net APIs statistic APIs Load APIs time APIs

Example 1
public ObjectNode encode(Load load, CodecContext context) {
        checkNotNull(load, "Load cannot be null");
        return context.mapper().createObjectNode()
                .put(RATE, load.rate())
                .put(LATEST, load.latest())
                .put(VALID, load.isValid())
                .put(TIME, load.time());
    }