public class Invocation extends SwaggerInvocation
| Modifier and Type | Field and Description |
|---|---|
protected static AtomicLong |
INVOCATION_ID |
invocationType, parentContext, swaggerArgumentscontext, httpStatus, localContext, marker| Constructor and Description |
|---|
Invocation() |
Invocation(Endpoint endpoint,
OperationMeta operationMeta,
Object[] swaggerArguments) |
Invocation(ReferenceConfig referenceConfig,
OperationMeta operationMeta,
Object[] swaggerArguments) |
getInvocationType, getParentContext, getSwaggerArgument, getSwaggerArguments, setSwaggerArgument, setSwaggerArgumentsaddContext, addContext, addContext, addLocalContext, addLocalContext, getContext, getContext, getLocalContext, getLocalContext, getMarker, getStatus, mergeContext, mergeContext, setContext, setLocalContext, setStatus, setStatus, setStatusprotected static final AtomicLong INVOCATION_ID
public Invocation()
public Invocation(ReferenceConfig referenceConfig, OperationMeta operationMeta, Object[] swaggerArguments)
public Invocation(Endpoint endpoint, OperationMeta operationMeta, Object[] swaggerArguments)
public long getInvocationId()
public org.apache.servicecomb.foundation.vertx.http.HttpServletRequestEx getRequestEx()
public InvocationStageTrace getInvocationStageTrace()
public String getTraceId()
@Deprecated public long getStartTime()
@Deprecated public long getStartExecutionTime()
public Transport getTransport()
public Executor getResponseExecutor()
public void setResponseExecutor(Executor responseExecutor)
public SchemaMeta getSchemaMeta()
public OperationMeta getOperationMeta()
public Object[] getArgs()
public Endpoint getEndpoint()
public void setEndpoint(Endpoint endpoint)
public int getHandlerIndex()
public void setHandlerIndex(int handlerIndex)
public void next(AsyncResponse asyncResp) throws Exception
Exceptionpublic String getSchemaId()
public String getOperationName()
public String getConfigTransportName()
public String getRealTransportName()
public String getMicroserviceName()
public String getAppId()
public String getMicroserviceVersionRule()
public String getInvocationQualifiedName()
getInvocationQualifiedName in class SwaggerInvocationpublic String getMicroserviceQualifiedName()
protected void initTraceId()
protected void initTraceId(TraceIdGenerator traceIdGenerator)
public void onStart(long start)
public void onStart(org.apache.servicecomb.foundation.vertx.http.HttpServletRequestEx requestEx,
long start)
public void onExecuteStart()
public void onBusinessMethodStart()
onBusinessMethodStart in class SwaggerInvocationpublic void onBusinessMethodFinish()
onBusinessMethodFinish in class SwaggerInvocationpublic void onBusinessFinish()
onBusinessFinish in class SwaggerInvocationpublic void onFinish(Response response)
public boolean isFinished()
public boolean isSync()
public void setSync(boolean sync)
public boolean isConsumer()
public boolean isEdge()
public void setEdge(boolean edge)
public boolean isThirdPartyInvocation()
Copyright © 2017–2019 The Apache Software Foundation. All rights reserved.