@Component
public class TopicOwnerCache
extends java.lang.Object
| Constructor and Description |
|---|
TopicOwnerCache(pl.allegro.tech.hermes.domain.topic.TopicRepository topicRepository,
GroupService groupService,
int refreshRateInSeconds) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<pl.allegro.tech.hermes.api.TopicName> |
get(pl.allegro.tech.hermes.api.OwnerId ownerId) |
void |
stop() |
public TopicOwnerCache(pl.allegro.tech.hermes.domain.topic.TopicRepository topicRepository,
GroupService groupService,
@Value(value="${topicOwnerCache.refreshRateInSeconds}")
int refreshRateInSeconds)