Class TopicOwnerCache
java.lang.Object
pl.allegro.tech.hermes.management.domain.topic.TopicOwnerCache
-
Constructor Summary
ConstructorsConstructorDescriptionTopicOwnerCache(pl.allegro.tech.hermes.domain.topic.TopicRepository topicRepository, GroupService groupService, int refreshRateInSeconds) -
Method Summary
Modifier and TypeMethodDescriptionCollection<pl.allegro.tech.hermes.api.TopicName>get(pl.allegro.tech.hermes.api.OwnerId ownerId) voidstop()
-
Constructor Details
-
TopicOwnerCache
public TopicOwnerCache(pl.allegro.tech.hermes.domain.topic.TopicRepository topicRepository, GroupService groupService, @Value("${topicOwnerCache.refreshRateInSeconds}") int refreshRateInSeconds)
-
-
Method Details
-
stop
@PreDestroy public void stop() -
get
public Collection<pl.allegro.tech.hermes.api.TopicName> get(pl.allegro.tech.hermes.api.OwnerId ownerId)
-