@Override
  public void check(Mutation m) throws SpaceLimitingException {
    // Disallow all "new" data flowing into HBase, but allow Deletes (even though we know they will
    // temporarily increase utilization).
    if (m instanceof Append || m instanceof Increment || m instanceof Put) {
      throw new SpaceLimitingException(getPolicyName(),
        m.getClass().getSimpleName() + "s are disallowed due to a space quota.");
    }
  }
A {@link SpaceViolationPolicyEnforcement} which disallows any inserts to the table. The
enforcement counterpart to {@link SpaceViolationPolicy#NO_INSERTS}.
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/policies/NoInsertsViolationPolicyEnforcement.java