com.alibaba.dubbo.registry.redis
Class RedisRegistry

java.lang.Object
  extended by com.alibaba.dubbo.registry.support.AbstractRegistry
      extended by com.alibaba.dubbo.registry.support.FailbackRegistry
          extended by com.alibaba.dubbo.registry.redis.RedisRegistry
All Implemented Interfaces:
Node, Registry, RegistryService

public class RedisRegistry
extends FailbackRegistry

RedisRegistry

Author:
william.liangf

Constructor Summary
RedisRegistry(URL url)
           
 
Method Summary
 void destroy()
          destroy.
 void doRegister(URL url)
           
 void doSubscribe(URL url, NotifyListener listener)
           
 void doUnregister(URL url)
           
 void doUnsubscribe(URL url, NotifyListener listener)
           
 boolean isAvailable()
          is available.
 
Methods inherited from class com.alibaba.dubbo.registry.support.FailbackRegistry
getFailedNotified, getFailedRegistered, getFailedSubscribed, getFailedUnregistered, getFailedUnsubscribed, getRetryFuture, register, subscribe, unregister, unsubscribe
 
Methods inherited from class com.alibaba.dubbo.registry.support.AbstractRegistry
doSaveProperties, getCacheFile, getCacheProperties, getCacheUrls, getLastCacheChanged, getNotified, getRegistered, getSubscribed, getUrl, lookup, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RedisRegistry

public RedisRegistry(URL url)
Method Detail

isAvailable

public boolean isAvailable()
Description copied from interface: Node
is available.

Returns:
available.

destroy

public void destroy()
Description copied from interface: Node
destroy.

Specified by:
destroy in interface Node
Overrides:
destroy in class FailbackRegistry

doRegister

public void doRegister(URL url)

doUnregister

public void doUnregister(URL url)

doSubscribe

public void doSubscribe(URL url,
                        NotifyListener listener)

doUnsubscribe

public void doUnsubscribe(URL url,
                          NotifyListener listener)


Copyright © 2012–2017 Alibaba. All rights reserved.