Class ZookeeperTopicBlacklistRepository

    • Field Summary

      • Fields inherited from class pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperBasedRepository

        mapper, paths, zookeeper
    • 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
      void add​(java.lang.String qualifiedTopicName)  
      boolean isBlacklisted​(java.lang.String qualifiedTopicName)  
      java.util.List<java.lang.String> list()  
      void remove​(java.lang.String qualifiedTopicName)  
      • Methods inherited from class pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperBasedRepository

        childrenOf, ensureConnected, ensurePathExists, isEmpty, overwrite, pathExists, readFrom, readFrom, readFrom, readWithStatFrom, touch
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ZookeeperTopicBlacklistRepository

        public ZookeeperTopicBlacklistRepository​(org.apache.curator.framework.CuratorFramework zookeeper,
                                                 com.fasterxml.jackson.databind.ObjectMapper mapper,
                                                 pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths paths)
    • Method Detail

      • remove

        public void remove​(java.lang.String qualifiedTopicName)
        Specified by:
        remove in interface TopicBlacklistRepository
        Overrides:
        remove in class pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperBasedRepository