@Override
    public String toString() {
      String myToString = "Unknown";
      switch (this) {
        case ALLOW:
          myToString = "ALLOW";
          break;
        case THROW_ERROR:
          myToString = "THROW_ERROR";
          break;
        case PREVENT_SILENTLY:
          myToString = "PREVENT_SILENTLY";
          break;
        default:
          // leave as "Unknown"
      }
      return myToString;
    }
Returns true if lock reentry should be rejected.

@param lock the lock that reentry is being attempted on
@return true if lock reentry should be rejected
@throws IllegalStateException if reentry policy is NONREENTRANT_ERROR
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DistributedMemberLock.java