Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public Finished(Started started) {
   super(started.getEventKey(), started.uri);
 }