private synchronized void incAccess(int amount) {
      if (amount < 0) {
        Assert.assertTrue(accessCount - amount >= 0,
            amount + " cannot be subtracted from accessCount " + accessCount);
      }
      accessCount += amount;
    }
Increments or decrements access count by the specified amount.
<p>
Synchronizes on this grant token.

@param amount the amount to inc or dec access count by
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockGrantor.java