Interface Curator.FileCache

  • Enclosing class:
    Curator

    public static interface Curator.FileCache
    A listenable cache of the content of a single curator path. This wraps the Curator NodeCache recipe to allow us to mock it.
    • Method Detail

      • start

        void start()
      • addListener

        void addListener​(org.apache.curator.framework.recipes.cache.NodeCacheListener listener)
      • getCurrentData

        org.apache.curator.framework.recipes.cache.ChildData getCurrentData()
      • close

        void close()