code: public List<TempBlockMeta> getSessionTempBlocks(long sessionId) {
      Set<Long> sessionTempBlockIds = mSessionIdToTempBlockIdsMap.get(sessionId);
  
      if (sessionTempBlockIds == null || sessionTempBlockIds.isEmpty()) {
        return Collections.emptyList();
      }
      List<TempBlockMeta> sessionTempBlocks = new ArrayList<>();
      for (long blockId : sessionTempBlockIds) {
        sessionTempBlocks.add(mBlockIdToTempBlockMap.get(blockId));
      }
      return sessionTempBlocks;
    }
docs: Gets the temporary blocks associated with a session in this {@link StorageDir}, an empty list
  is returned if the session has no temporary blocks in this {@link StorageDir}.
  
  @param sessionId the id of the session
  @return A list of temporary blocks the session is associated with in this {@link StorageDir}