Class 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)  
      void init​(java.lang.String registryPluginType)  
      boolean register​(org.apache.eventmesh.api.registry.dto.EventMeshRegisterInfo eventMeshRegisterInfo)  
      void registerMetadata​(java.util.Map<java.lang.String,​java.lang.String> metadata)  
      void shutdown()  
      void start()  
      boolean unRegister​(org.apache.eventmesh.api.registry.dto.EventMeshUnRegisterInfo eventMeshUnRegisterInfo)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Registry

        public Registry()
    • 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