Class ZookeeperTopicBlacklistRepository
- java.lang.Object
-
- pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperBasedRepository
-
- pl.allegro.tech.hermes.management.infrastructure.blacklist.ZookeeperTopicBlacklistRepository
-
- All Implemented Interfaces:
TopicBlacklistRepository
public class ZookeeperTopicBlacklistRepository extends pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperBasedRepository implements TopicBlacklistRepository
-
-
Constructor Summary
Constructors Constructor Description ZookeeperTopicBlacklistRepository(org.apache.curator.framework.CuratorFramework zookeeper, com.fasterxml.jackson.databind.ObjectMapper mapper, pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths paths)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.String qualifiedTopicName)booleanisBlacklisted(java.lang.String qualifiedTopicName)java.util.List<java.lang.String>list()voidremove(java.lang.String qualifiedTopicName)
-
-
-
Method Detail
-
add
public void add(java.lang.String qualifiedTopicName)
- Specified by:
addin interfaceTopicBlacklistRepository
-
remove
public void remove(java.lang.String qualifiedTopicName)
- Specified by:
removein interfaceTopicBlacklistRepository- Overrides:
removein classpl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperBasedRepository
-
isBlacklisted
public boolean isBlacklisted(java.lang.String qualifiedTopicName)
- Specified by:
isBlacklistedin interfaceTopicBlacklistRepository
-
list
public java.util.List<java.lang.String> list()
- Specified by:
listin interfaceTopicBlacklistRepository
-
-