class InternalRequestIdService {

    @NotNull
    public UUID getInternalRequestId() {
        UUID idFromHolder = internalRequestIdHolder.getInternalRequestId();

        if (idFromHolder == null) {
            return generateInternalRequestId();
        }

        return idFromHolder;
    }

}