@JsonIgnore
  public long getQuotaValue(QuotaName quotaName) {
    switch (quotaName) {
      case READ_CAPACITY_UNIT:
        return rcu.get();
      case WRITE_CAPACITY_UNIT:
        return wcu.get();
      default:
        throw new IllegalArgumentException("Invalid quota name: " + quotaName.name());
    }
  }
Constructor for {@link CapacityUnit} that sets the specified values for rcu and wcu.
@param rcu value for {@link CapacityUnit#rcu}.
@param wcu value for {@link CapacityUnit#wcu}.
ambry-quota/src/main/java/com/github/ambry/quota/capacityunit/CapacityUnit.java