Class RegistryEvent
java.lang.Object
org.apache.dubbo.metrics.event.MetricsEvent
org.apache.dubbo.metrics.event.TimeCounterEvent
org.apache.dubbo.metrics.registry.event.RegistryEvent
Registry related events
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.dubbo.metrics.event.MetricsEvent
MetricsEvent.Type -
Constructor Summary
ConstructorsConstructorDescriptionRegistryEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, TypeWrapper typeWrapper) -
Method Summary
Modifier and TypeMethodDescriptionstatic RegistryEventrefreshDirectoryEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, Map<MetricsKey, Map<String, Integer>> summaryMap, Map<String, String> attachments) static RegistryEventtoNotifyEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) static RegistryEventtoRegisterEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, List<String> registryClusterNames) static RegistryEventtoRsEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, String serviceKey, int size, List<String> serviceDiscoveryNames) static RegistryEventtoSsEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, String serviceKey, List<String> serviceDiscoveryNames) static RegistryEventtoSubscribeEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, String registryClusterName) Methods inherited from class org.apache.dubbo.metrics.event.TimeCounterEvent
getTimePairMethods inherited from class org.apache.dubbo.metrics.event.MetricsEvent
appName, customAfterPost, getAttachments, getAttachmentValue, getMetricsEventMulticaster, getSource, getTypeWrapper, isAssignableFrom, isAvailable, putAttachment, putAttachments, setAvailable, toString
-
Constructor Details
-
RegistryEvent
public RegistryEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, TypeWrapper typeWrapper)
-
-
Method Details
-
toRegisterEvent
public static RegistryEvent toRegisterEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, List<String> registryClusterNames) -
toSubscribeEvent
public static RegistryEvent toSubscribeEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, String registryClusterName) -
toNotifyEvent
public static RegistryEvent toNotifyEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) -
toRsEvent
public static RegistryEvent toRsEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, String serviceKey, int size, List<String> serviceDiscoveryNames) -
toSsEvent
public static RegistryEvent toSsEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, String serviceKey, List<String> serviceDiscoveryNames) -
refreshDirectoryEvent
public static RegistryEvent refreshDirectoryEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, Map<MetricsKey, Map<String, Integer>> summaryMap, Map<String, String> attachments)
-