public class EventSourceWrapper extends CommonEventSource implements Serializable
eventId, eventName, mdcValue, syncResult, timestampsource| 构造器和说明 |
|---|
EventSourceWrapper(String txnId,
CommonEventSource evt) |
| 限定符和类型 | 方法和说明 |
|---|---|
CommonEventSource |
getEvt() |
String |
getMdcValue() |
Object |
getResult() |
<T> T |
getResult(Class<T> type) |
EventConsumedStatus |
getStatus() |
Object |
getSyncResult() |
String |
getTxnId() |
CommonEventSource |
getWrapper() |
void |
pushArg(Object arg) |
void |
setMdcValue(String mdcValue) |
void |
setStatus(EventConsumedStatus status) |
void |
setSyncResult(Object syncResult) |
getArg, getArgList, getArgsgetEventId, getEventName, getSourceClassName, getSourceInfo, getTimestamp, setSourceClassName, setSourceInfo, setTimestamp, toStringgetSourcepublic EventSourceWrapper(String txnId, CommonEventSource evt)
public CommonEventSource getWrapper()
public Object getResult()
getResult 在类中 CommonEventSourcepublic <T> T getResult(Class<T> type)
getResult 在类中 CommonEventSourcepublic void pushArg(Object arg)
pushArg 在类中 CommonEventSourcepublic Object getSyncResult()
getSyncResult 在类中 EventSourceBasepublic String getMdcValue()
getMdcValue 在类中 EventSourceBasepublic void setMdcValue(String mdcValue)
setMdcValue 在类中 EventSourceBasepublic void setSyncResult(Object syncResult)
setSyncResult 在类中 EventSourceBasepublic EventConsumedStatus getStatus()
getStatus 在类中 EventSourceBasepublic void setStatus(EventConsumedStatus status)
setStatus 在类中 EventSourceBasepublic String getTxnId()
public CommonEventSource getEvt()
Copyright © 2018 Jue Ming. All rights reserved.