Class ContextProperties

java.lang.Object
com.huaweicloud.common.configration.dynamic.ContextProperties

public class ContextProperties extends Object
  • Field Details

  • Constructor Details

    • ContextProperties

      public ContextProperties()
  • Method Details

    • isEnableTraceInfo

      public boolean isEnableTraceInfo()
    • setEnableTraceInfo

      public void setEnableTraceInfo(boolean enableTraceInfo)
    • isEnableAsyncTrace

      public boolean isEnableAsyncTrace()
    • setEnableAsyncTrace

      public void setEnableAsyncTrace(boolean enableAsyncTrace)
    • getWaitTimeForShutDownInMillis

      public int getWaitTimeForShutDownInMillis()
    • setWaitTimeForShutDownInMillis

      public void setWaitTimeForShutDownInMillis(int waitTimeForShutDownInMillis)
    • getHeaderContextMapper

      public Map<String,String> getHeaderContextMapper()
    • setHeaderContextMapper

      public void setHeaderContextMapper(Map<String,String> headerContextMapper)
    • getQueryContextMapper

      public Map<String,String> getQueryContextMapper()
    • setQueryContextMapper

      public void setQueryContextMapper(Map<String,String> queryContextMapper)
    • getTraceLevel

      public String getTraceLevel()
    • setTraceLevel

      public void setTraceLevel(String traceLevel)
    • getTraceContexts

      public List<String> getTraceContexts()
    • setTraceContexts

      public void setTraceContexts(List<String> traceContexts)
    • isUseContextOperationForMetrics

      public boolean isUseContextOperationForMetrics()
    • setUseContextOperationForMetrics

      public void setUseContextOperationForMetrics(boolean useContextOperationForMetrics)
    • isAddTraceIdForFeign

      public boolean isAddTraceIdForFeign()
    • setAddTraceIdForFeign

      public void setAddTraceIdForFeign(boolean addTraceIdForFeign)
    • isAddTraceIdForTemplate

      public boolean isAddTraceIdForTemplate()
    • setAddTraceIdForTemplate

      public void setAddTraceIdForTemplate(boolean addTraceIdForTemplate)