synchronized public Event end(){
  if (complete) {
    throw new IllegalStateException();
  }
  complete=true;
  endTime=System.currentTimeMillis();
  if (startTime == 0L) {
    startTime=endTime;
  }
  try {
    sendEvent();
  }
 catch (  Throwable t) {
    log.warn(t);
  }
  return this;
}

synchronized public Event end ( ) { if ( complete ) { throw new IllegalStateException ( ) ; } complete = true ; endTime = System . currentTimeMillis ( ) ; if ( startTime == 0L ) { startTime = endTime ; } try { sendEvent ( ) ; } catch ( Throwable t ) { log . warn ( t ) ; } return this ; }
sends the end event . < p > note : you can use this method for " instantaneous " events .
