Class OAuthProvidersNotifyingCache

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, org.apache.curator.framework.recipes.cache.PathChildrenCacheListener

    public class OAuthProvidersNotifyingCache
    extends org.apache.curator.framework.recipes.cache.PathChildrenCache
    implements org.apache.curator.framework.recipes.cache.PathChildrenCacheListener
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.curator.framework.recipes.cache.PathChildrenCache

        org.apache.curator.framework.recipes.cache.PathChildrenCache.StartMode
    • Constructor Summary

      Constructors 
      Constructor Description
      OAuthProvidersNotifyingCache​(org.apache.curator.framework.CuratorFramework curator, java.lang.String path, java.util.concurrent.ExecutorService executorService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void childEvent​(org.apache.curator.framework.CuratorFramework client, org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent event)  
      void setListener​(OAuthProviderCacheListener listener)  
      void start()  
      • Methods inherited from class org.apache.curator.framework.recipes.cache.PathChildrenCache

        clear, clearAndRefresh, clearDataBytes, clearDataBytes, close, ensurePath, getCurrentData, getCurrentData, getListenable, handleException, rebuild, rebuildNode, remove, start, start
      • Methods inherited from class java.lang.Object

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

      • OAuthProvidersNotifyingCache

        public OAuthProvidersNotifyingCache​(org.apache.curator.framework.CuratorFramework curator,
                                            java.lang.String path,
                                            java.util.concurrent.ExecutorService executorService,
                                            com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • start

        public void start()
                   throws java.lang.Exception
        Overrides:
        start in class org.apache.curator.framework.recipes.cache.PathChildrenCache
        Throws:
        java.lang.Exception
      • childEvent

        public void childEvent​(org.apache.curator.framework.CuratorFramework client,
                               org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent event)
                        throws java.lang.Exception
        Specified by:
        childEvent in interface org.apache.curator.framework.recipes.cache.PathChildrenCacheListener
        Throws:
        java.lang.Exception