package com.l7tech.gateway.common.logging;

public class StatisticsRecord {
   private final String a;
   private final long b;
   private final long c;
   private final long d;
   private final long e;

   public StatisticsRecord(String var1, long var2, long var4, long var6, long var8) {
      this.a = var1;
      this.b = var2;
      this.c = var4;
      this.d = var6;
      this.e = var8;
   }

   public String getServiceName() {
      return this.a;
   }

   public long getAttemptedCount() {
      return this.b;
   }

   public long getAuthorizedCount() {
      return this.c;
   }

   public long getCompletedCount() {
      return this.d;
   }

   public long getCompletedCountLastMinute() {
      return this.e;
   }

   public long getNumRoutingFailure() {
      return this.c - this.d;
   }

   public long getNumPolicyViolation() {
      return this.b - this.c;
   }

   public long getNumSuccess() {
      return this.d;
   }

   public long getNumSuccessLastMinute() {
      return this.e;
   }
}
