incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From baojian Zhou <>
Subject about an event's runtime
Date Tue, 25 Jun 2013 06:40:02 GMT
hi all,
i tested the events processing time during the runtime in the application.
and the events' starttime(such as :event.getTime()) always the same. why? i
can sure the events  injectorred from the source is different every time.
here is the onEvent()method in SimplePE.class

long value = event.get("value", long.class);
final long eventTime = event.getTime();
Metrics.newGauge(SimplePE1.class, "event-runTime-" + super.getName(),//
class name Gauge
 new Gauge<BigDecimal>() {
 public BigDecimal value() {
return new BigDecimal( eventTime);

View raw message