Class OAuthProvidersNotifyingCache
- java.lang.Object
-
- org.apache.curator.framework.recipes.cache.PathChildrenCache
-
- pl.allegro.tech.hermes.consumers.consumer.oauth.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
-
-
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 voidchildEvent(org.apache.curator.framework.CuratorFramework client, org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent event)voidsetListener(OAuthProviderCacheListener listener)voidstart()
-
-
-
Method Detail
-
start
public void start() throws java.lang.Exception- Overrides:
startin classorg.apache.curator.framework.recipes.cache.PathChildrenCache- Throws:
java.lang.Exception
-
setListener
public void setListener(OAuthProviderCacheListener listener)
-
childEvent
public void childEvent(org.apache.curator.framework.CuratorFramework client, org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent event) throws java.lang.Exception- Specified by:
childEventin interfaceorg.apache.curator.framework.recipes.cache.PathChildrenCacheListener- Throws:
java.lang.Exception
-
-