container/router/src/main/java/org/mobicents/slee/runtime/eventrouter/stats/EventRouterExecutorStatisticsImpl.java
public void eventRouted(EventTypeID eventTypeID, long routingTime) {
		EventTypeRoutingStatisticsImpl eventTypeRoutingStatistics = eventTypeRoutingStatisticsMap.get(eventTypeID);
		if (eventTypeRoutingStatistics == null) {
			synchronized (eventTypeRoutingStatisticsMap) {
				eventTypeRoutingStatistics = new EventTypeRoutingStatisticsImpl(eventTypeID);
				eventTypeRoutingStatisticsMap.put(eventTypeID, eventTypeRoutingStatistics); 
			}
		}
		eventTypeRoutingStatistics.eventRouted(routingTime);
		taskExecuted(routingTime);
	}
public void eventRouted(EventTypeID eventTypeID, long routingTime) {
		EventTypeRoutingStatisticsImpl eventTypeRoutingStatistics = eventTypeRoutingStatisticsMap.get(eventTypeID);
		if (eventTypeRoutingStatistics == null) {
			synchronized (eventTypeRoutingStatisticsMap) {
				eventTypeRoutingStatistics = new EventTypeRoutingStatisticsImpl(eventTypeID);
				eventTypeRoutingStatisticsMap.put(eventTypeID, eventTypeRoutingStatistics); 
			}
		}
		eventTypeRoutingStatistics.eventRouted(routingTime);
		taskExecuted(routingTime);
	}
public void eventRouted ( EventTypeID eventTypeID , long routingTime ) { EventTypeRoutingStatisticsImpl eventTypeRoutingStatistics = eventTypeRoutingStatisticsMap . get ( eventTypeID ) ; if ( eventTypeRoutingStatistics == null ) { synchronized ( eventTypeRoutingStatisticsMap ) { eventTypeRoutingStatistics = new EventTypeRoutingStatisticsImpl ( eventTypeID ) ; eventTypeRoutingStatisticsMap . put ( eventTypeID , eventTypeRoutingStatistics ) ; } } eventTypeRoutingStatistics . eventRouted ( routingTime ) ; taskExecuted ( routingTime ) ; }
Adds the time for an event routing with a specific {@link EventTypeID}.

@param eventTypeID
the id of the event type
@param routingTime
the time spent to route the event, in milliseconds
Adds the time for an event routing with a specific { @link EventTypeID } .