void () { if (!disableAssertions && IndexDebugProperties.DEBUG) { if (lock.getReadHoldCount() > 0 || lock.writeLock().isHeldByCurrentThread()) return; throw new IllegalStateException("Must hold StorageLock read lock to access PagedFileStorage"); } }