code: public void acquireAllLocks(List<Object> keys, boolean exclusive) {
        for (Object k : keys) {
          acquireLock(k, exclusive);
      }
     }
docs: Acquires locks on keys passed in.  Makes multiple calls to {@link #acquireLock(Object, boolean)}
  
  @param keys      keys to unlock
  @param exclusive whether locks are exclusive.