DatedEventIndex datedEventIndex,
PropertiesIndex propertiesIndex,
UserEventIndex userEventIndex,
BloomFilteredEventStorage eventStorage,
BloomFilteredUserStorage userStorage) {
return new EventHub(directory, shardedEventIndex, datedEventIndex, propertiesIndex,
userEventIndex, eventStorage, userStorage);
}