Class Registry
- java.lang.Object
-
- org.apache.eventmesh.runtime.registry.Registry
-
public class Registry extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Registry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<org.apache.eventmesh.api.registry.dto.EventMeshDataInfo>findAllEventMeshInfo()java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>>findEventMeshClientDistributionData(java.lang.String clusterName, java.lang.String group, java.lang.String purpose)java.util.List<org.apache.eventmesh.api.registry.dto.EventMeshDataInfo>findEventMeshInfoByCluster(java.lang.String clusterName)voidinit(java.lang.String registryPluginType)booleanregister(org.apache.eventmesh.api.registry.dto.EventMeshRegisterInfo eventMeshRegisterInfo)voidregisterMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)voidshutdown()voidstart()booleanunRegister(org.apache.eventmesh.api.registry.dto.EventMeshUnRegisterInfo eventMeshUnRegisterInfo)
-
-
-
Method Detail
-
init
public void init(java.lang.String registryPluginType) throws java.lang.Exception- Throws:
java.lang.Exception
-
start
public void start() throws java.lang.Exception- Throws:
java.lang.Exception
-
shutdown
public void shutdown() throws java.lang.Exception- Throws:
java.lang.Exception
-
findEventMeshInfoByCluster
public java.util.List<org.apache.eventmesh.api.registry.dto.EventMeshDataInfo> findEventMeshInfoByCluster(java.lang.String clusterName) throws java.lang.Exception- Throws:
java.lang.Exception
-
findAllEventMeshInfo
public java.util.List<org.apache.eventmesh.api.registry.dto.EventMeshDataInfo> findAllEventMeshInfo() throws java.lang.Exception- Throws:
java.lang.Exception
-
findEventMeshClientDistributionData
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Integer>> findEventMeshClientDistributionData(java.lang.String clusterName, java.lang.String group, java.lang.String purpose) throws java.lang.Exception- Throws:
java.lang.Exception
-
registerMetadata
public void registerMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
-
register
public boolean register(org.apache.eventmesh.api.registry.dto.EventMeshRegisterInfo eventMeshRegisterInfo) throws java.lang.Exception- Throws:
java.lang.Exception
-
unRegister
public boolean unRegister(org.apache.eventmesh.api.registry.dto.EventMeshUnRegisterInfo eventMeshUnRegisterInfo) throws java.lang.Exception- Throws:
java.lang.Exception
-
-