public class BusinessActivityContext extends Object implements Serializable
| 构造器和说明 |
|---|
BusinessActivityContext()
Instantiates a new Business activity context.
|
BusinessActivityContext(Map<String,Object> context)
Instantiates a new Business activity context.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addContext(String key,
Object value)
Add context.
|
Long |
fetchStartTime()
Fetch start time long.
|
Map<String,Object> |
getContext()
Gets context.
|
Object |
getContext(String key)
Get context object.
|
void |
setContext(Map<String,Object> context)
Sets context.
|
String |
toString() |
public BusinessActivityContext()
public void addContext(String key, Object value)
key - the keyvalue - the valuepublic Long fetchStartTime()
public Object getContext(String key)
key - the keypublic void setContext(Map<String,Object> context)
context - the contextCopyright © 2020 Seata. All rights reserved.