public class OAuthProvidersNotifyingCache
extends org.apache.curator.framework.recipes.cache.PathChildrenCache
implements org.apache.curator.framework.recipes.cache.PathChildrenCacheListener
| Constructor and Description |
|---|
OAuthProvidersNotifyingCache(org.apache.curator.framework.CuratorFramework curator,
java.lang.String path,
java.util.concurrent.ExecutorService executorService,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
childEvent(org.apache.curator.framework.CuratorFramework client,
org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent event) |
void |
setListener(OAuthProviderCacheListener listener) |
void |
start() |
public OAuthProvidersNotifyingCache(org.apache.curator.framework.CuratorFramework curator,
java.lang.String path,
java.util.concurrent.ExecutorService executorService,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public void start()
throws java.lang.Exception
start in class org.apache.curator.framework.recipes.cache.PathChildrenCachejava.lang.Exceptionpublic void setListener(OAuthProviderCacheListener listener)
public void childEvent(org.apache.curator.framework.CuratorFramework client,
org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent event)
throws java.lang.Exception
childEvent in interface org.apache.curator.framework.recipes.cache.PathChildrenCacheListenerjava.lang.Exception