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 Summary

    Modifier and Type
    Method
    Description
    void
    addListener(org.apache.curator.framework.recipes.cache.NodeCacheListener listener)
     
    void
     
    org.apache.curator.framework.recipes.cache.ChildData
     
    void
     
  • Method Details

    • 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()