![JAR search and dependency download from the Maven repository](/logo.png)
com.github.ltsopensource.core.registry.Registry Maven / Gradle / Ivy
package com.github.ltsopensource.core.registry;
import com.github.ltsopensource.core.cluster.Node;
/**
* @author Robert HG ([email protected]) on 6/22/14.
* 节点注册接口
*/
public interface Registry {
/**
* 节点注册
*/
void register(Node node);
/**
* 节点 取消注册
*/
void unregister(Node node);
/**
* 监听节点
*/
void subscribe(Node node, NotifyListener listener);
/**
* 取消监听节点
*/
void unsubscribe(Node node, NotifyListener listener);
/**
* 销毁
*/
void destroy();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy