int id = getId(externalUserId);
if (id != UserStorage.USER_NOT_FOUND) {
return id;
}
id = super.ensureUser(externalUserId);
final BloomFilter bloomFilter = bloomFilterProvider.get();
User user = new User.Builder(externalUserId, Maps.<String, String>newHashMap()).build();
user.enumerate(new KeyValueCallback() {
@Override
public void callback(String key, String value) {
bloomFilter.add(getBloomFilterKey(key, value));
}
});
bloomFilterDmaList.add(bloomFilter);
return id;
}