private Finished( Started event, ImmutableMap<String, Object> data, boolean wasUploadSuccessful, Optional<CacheResult> cacheResult) { super( event.getEventKey(), CACHE_MODE, event.getOperation(), event.getTarget(), event.getRuleKeys(), event.getInvocationType(), cacheResult); this.startedEvent = event; this.eventInfo = data; this.requestDurationMillis = -1; this.wasUploadSuccessful = wasUploadSuccessful; }
public Finished(Started started) { super(started.getEventKey(), started.uri); }