public class RegistryEvent extends TimeCounterEvent
MetricsEvent.Type| 构造器和说明 |
|---|
RegistryEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel,
TypeWrapper typeWrapper) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addApplicationRT(String opType) |
void |
addServiceKeyRT(String attServiceKey,
String attSize) |
<T> T |
getAttachmentValue(String key) |
RegistryMetricsCollector |
getCollector() |
org.apache.dubbo.rpc.model.ApplicationModel |
getSource() |
void |
increment(ApplicationType type) |
void |
incrementServiceKey(ServiceType type,
String attServiceKey,
int size) |
void |
incrementServiceKey(ServiceType type,
String attServiceKey,
String attSize) |
void |
putAttachment(String key,
Object value) |
static RegistryEvent |
refreshDirectoryEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel,
Map<ServiceType,Map<String,Integer>> summaryMap) |
void |
setLastNum(ServiceType type) |
void |
setNum(ApplicationType type,
String attachmentKey) |
static RegistryEvent |
toNotifyEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) |
static RegistryEvent |
toRegisterEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) |
static RegistryEvent |
toRsEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel,
String serviceKey,
int size) |
static RegistryEvent |
toSsEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel,
String serviceKey) |
static RegistryEvent |
toSubscribeEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) |
getTimePaircustomAfterPost, isAssignableFrom, isAvailable, setAvailable, toStringpublic RegistryEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel,
TypeWrapper typeWrapper)
public org.apache.dubbo.rpc.model.ApplicationModel getSource()
getSource 在类中 MetricsEventpublic RegistryMetricsCollector getCollector()
public <T> T getAttachmentValue(String key)
public void setLastNum(ServiceType type)
public void addApplicationRT(String opType)
public void setNum(ApplicationType type, String attachmentKey)
public void incrementServiceKey(ServiceType type, String attServiceKey, String attSize)
public void incrementServiceKey(ServiceType type, String attServiceKey, int size)
public void increment(ApplicationType type)
public static RegistryEvent toRegisterEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel)
public static RegistryEvent toSubscribeEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel)
public static RegistryEvent toNotifyEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel)
public static RegistryEvent toRsEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, String serviceKey, int size)
public static RegistryEvent toSsEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, String serviceKey)
public static RegistryEvent refreshDirectoryEvent(org.apache.dubbo.rpc.model.ApplicationModel applicationModel, Map<ServiceType,Map<String,Integer>> summaryMap)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.