@Override
  public synchronized void enable() {
    boolean ret = disableCompactions.compareAndSet(false, true);
    if (!ret && LOG.isTraceEnabled()) {
      LOG.trace("Compactions were already disabled upon enabling the policy");
    }
  }
A {@link SpaceViolationPolicyEnforcement} implementation which disables all updates and
compactions. The enforcement counterpart to {@link SpaceViolationPolicy#NO_WRITES_COMPACTIONS}.
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/policies/NoWritesCompactionsViolationPolicyEnforcement.java