APISonar


org.onosproject.event.Event.time

> org > onosproject > event > Event > time
org APIs onosproject APIs event APIs Event APIs time APIs

Example 1
private ObjectNode json(Event<?, ?> event) {
        ObjectNode result = mapper().createObjectNode();

        result.put("time", event.time())
              .put("type", event.type().toString())
              .put("event", event.toString());

        return result;
    }