DiskSpaceRequirements getDiskSpaceRequirements() throws StoreException {
    checkInitialized();
    DiskSpaceRequirements requirements =
        new DiskSpaceRequirements(replicaId.getPartitionId().toPathString(), log.getSegmentSize(),
            log.getRemainingUnallocatedSegments(), compactor.getSwapSegmentsInUse().length);
    logger.info("Store {} has disk space requirements: {}", storeId, requirements);
    return requirements;
  }
@return the {@link DiskSpaceRequirements} for this store to provide to
{@link DiskSpaceAllocator#initializePool(Collection)}.
@throws StoreException
ambry-store/src/main/java/com/github/ambry/store/BlobStore.java