|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.alipay.remoting.InvokeContext
public class InvokeContext
Invoke context
| Field Summary | |
|---|---|
static String |
BOLT_CRC_SWITCH
|
static String |
BOLT_CUSTOM_SERIALIZER
|
static String |
BOLT_INVOKE_REQUEST_ID
|
static String |
BOLT_PROCESS_WAIT_TIME
time consumed start from the time when request arrive, to the time when request be processed, this is a timespan |
static String |
CLIENT_CONN_CREATETIME
time consumed during connection creating, this is a timespan |
static String |
CLIENT_LOCAL_IP
|
static String |
CLIENT_LOCAL_PORT
|
static String |
CLIENT_REMOTE_IP
|
static String |
CLIENT_REMOTE_PORT
|
static int |
INITIAL_SIZE
|
static String |
SERVER_LOCAL_IP
|
static String |
SERVER_LOCAL_PORT
|
static String |
SERVER_REMOTE_IP
|
static String |
SERVER_REMOTE_PORT
|
| Constructor Summary | |
|---|---|
InvokeContext()
default construct |
|
| Method Summary | ||
|---|---|---|
void |
clear()
clear all mappings. |
|
|
get(String key)
get |
|
|
get(String key,
T defaultIfNotFound)
get and use default if not found |
|
void |
put(String key,
Object value)
put |
|
void |
putIfAbsent(String key,
Object value)
put if absent |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CLIENT_LOCAL_IP
public static final String CLIENT_LOCAL_PORT
public static final String CLIENT_REMOTE_IP
public static final String CLIENT_REMOTE_PORT
public static final String CLIENT_CONN_CREATETIME
public static final String SERVER_LOCAL_IP
public static final String SERVER_LOCAL_PORT
public static final String SERVER_REMOTE_IP
public static final String SERVER_REMOTE_PORT
public static final String BOLT_INVOKE_REQUEST_ID
public static final String BOLT_PROCESS_WAIT_TIME
public static final String BOLT_CUSTOM_SERIALIZER
public static final String BOLT_CRC_SWITCH
public static final int INITIAL_SIZE
| Constructor Detail |
|---|
public InvokeContext()
| Method Detail |
|---|
public void putIfAbsent(String key,
Object value)
key - value -
public void put(String key,
Object value)
key - value - public <T> T get(String key)
key -
public <T> T get(String key,
T defaultIfNotFound)
T - key - defaultIfNotFound -
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||