) throws InterruptedException, ExecutionException, TimeoutException final Map<SegmentIdWithShardSpec, SegmentWithState> requestedSegmentIdsForSequences = getAppendingSegments(sequenceNames) .collect(Collectors.toMap(SegmentWithState::getSegmentIdentifier, Function.identity()));
) throws InterruptedException, ExecutionException, TimeoutException final Map<SegmentIdentifier, SegmentWithState> requestedSegmentIdsForSequences = getAppendingSegments(sequenceNames) .collect(Collectors.toMap(SegmentWithState::getSegmentIdentifier, Function.identity()));