public Builder add(final long metaId, final long effectiveTimeMs) {
            final EffectiveMeta effectiveMeta = new EffectiveMeta(metaId, feed, type, effectiveTimeMs);

            if (effectiveTimeToMetaMap == null) {
                effectiveTimeToMetaMap = new HashMap<>();
            }

            // De-dup based on the effective time. Highest metaId is the winner
            effectiveTimeToMetaMap.merge(
                    effectiveMeta.getEffectiveMs(),
                    effectiveMeta,
                    (existingMeta, newMeta) -> {
                        final EffectiveMeta resultMeta = newMeta.getId() > existingMeta.getId()
                                ? newMeta
                                : effectiveMeta;

                        LOGGER.warn("Reference streams [{}] and [{}] from feed '{}' found with the same " +
                                    "effective time {}. Stroom cannot know which is the preferred " +
                                    "stream so the one with the highest stream ID ({}) will be " +
                                    "used and the other ignored.",
                                existingMeta.getId(),
                                newMeta.getId(),
                                feed,
                                effectiveMeta.getEffectiveTime(),
                                resultMeta.getId());

                        return resultMeta;
                    });
            return this;
        }
Add an {@link EffectiveMeta} to this set using its metaID and effectiveTimeMs.
It will de-dup items that have the same
{@link EffectiveMeta#getEffectiveMs()}, with the winner being the one with the highest
{@link EffectiveMeta#getId()}.
stroom-meta/stroom-meta-api/src/main/java/stroom/meta/api/EffectiveMetaSet.java