Tabnine Logo
InvocationType.name
Code IndexAdd Tabnine to your IDE (free)

How to use
name
method
in
org.apache.servicecomb.swagger.invocation.InvocationType

Best Java code snippets using org.apache.servicecomb.swagger.invocation.InvocationType.name (Showing top 10 results out of 315)

origin: apache/servicecomb-java-chassis

public String getInvocationQualifiedName() {
 return invocationType.name();
}
origin: apache/servicecomb-java-chassis

public String getInvocationQualifiedName() {
 return invocationType.name() + " " + getRealTransportName() + " "
   + getOperationMeta().getMicroserviceQualifiedName();
}
origin: apache/servicecomb-java-chassis

 invocationName = MeterInvocationConst.EDGE_INVOCATION_NAME;
} else {
 invocationName = invocation.getInvocationType().name();
origin: apache/servicecomb-java-chassis

 public DefaultPublishModel createDefaultPublishModel() {
  DefaultPublishModel model = new DefaultPublishModel();

  model.getConsumer()
    .setOperationPerfGroups(generateOperationPerfGroups(tree, InvocationType.CONSUMER.name()));

  model.getProducer()
    .setOperationPerfGroups(generateOperationPerfGroups(tree, InvocationType.PRODUCER.name()));
  //edge
  model.getEdge()
    .setOperationPerfGroups(generateOperationPerfGroups(tree, MeterInvocationConst.EDGE_INVOCATION_NAME));

  ThreadPoolMonitorPublishModelFactory.create(tree, model.getThreadPools());

  return model;
 }
}
origin: org.apache.servicecomb/swagger-invocation-core

public String getInvocationQualifiedName() {
 return invocationType.name();
}
origin: apache/servicecomb-java-chassis

public CircutBreakerEvent(HystrixCommandKey commandKey, Type type) {
 super(type);
 HystrixCommandMetrics hystrixCommandMetrics = HystrixCommandMetrics.getInstance(commandKey);
 if (hystrixCommandMetrics != null) {
  if (hystrixCommandMetrics.getCommandGroup() instanceof CustomizeCommandGroupKey) {
   CustomizeCommandGroupKey customCommandGroupKey =
     (CustomizeCommandGroupKey) hystrixCommandMetrics.getCommandGroup();
   this.microservice = customCommandGroupKey.getInstance().getMicroserviceName();
   this.role = customCommandGroupKey.getInstance().getInvocationType().name();
   this.schema = customCommandGroupKey.getInstance().getSchemaId();
   this.operation = customCommandGroupKey.getInstance().getOperationName();
  }
  this.currentTotalRequest = hystrixCommandMetrics.getHealthCounts().getTotalRequests();
  this.currentErrorPercentage = hystrixCommandMetrics.getHealthCounts().getErrorCount();
  this.currentErrorCount = hystrixCommandMetrics.getHealthCounts().getErrorPercentage();
  this.requestVolumeThreshold = hystrixCommandMetrics.getProperties().circuitBreakerRequestVolumeThreshold().get();
  this.sleepWindowInMilliseconds =
    hystrixCommandMetrics.getProperties().circuitBreakerSleepWindowInMilliseconds().get();
  this.errorThresholdPercentage =
    hystrixCommandMetrics.getProperties().circuitBreakerErrorThresholdPercentage().get();
 }
}
origin: org.apache.servicecomb/java-chassis-core

public String getInvocationQualifiedName() {
 return invocationType.name() + " " + getRealTransportName() + " "
   + getOperationMeta().getMicroserviceQualifiedName();
}
origin: org.apache.servicecomb/metrics-core

 invocationName = MeterInvocationConst.EDGE_INVOCATION_NAME;
} else {
 invocationName = invocation.getInvocationType().name();
origin: org.apache.servicecomb/metrics-core

 public DefaultPublishModel createDefaultPublishModel() {
  DefaultPublishModel model = new DefaultPublishModel();

  model.getConsumer()
    .setOperationPerfGroups(generateOperationPerfGroups(tree, InvocationType.CONSUMER.name()));

  model.getProducer()
    .setOperationPerfGroups(generateOperationPerfGroups(tree, InvocationType.PRODUCER.name()));
  //edge
  model.getEdge()
    .setOperationPerfGroups(generateOperationPerfGroups(tree, MeterInvocationConst.EDGE_INVOCATION_NAME));

  ThreadPoolMonitorPublishModelFactory.create(tree, model.getThreadPools());

  return model;
 }
}
origin: org.apache.servicecomb/handler-bizkeeper

public CircutBreakerEvent(HystrixCommandKey commandKey, Type type) {
 super(type);
 HystrixCommandMetrics hystrixCommandMetrics = HystrixCommandMetrics.getInstance(commandKey);
 if (hystrixCommandMetrics != null) {
  if (hystrixCommandMetrics.getCommandGroup() instanceof CustomizeCommandGroupKey) {
   CustomizeCommandGroupKey customCommandGroupKey =
     (CustomizeCommandGroupKey) hystrixCommandMetrics.getCommandGroup();
   this.microservice = customCommandGroupKey.getInstance().getMicroserviceName();
   this.role = customCommandGroupKey.getInstance().getInvocationType().name();
   this.schema = customCommandGroupKey.getInstance().getSchemaId();
   this.operation = customCommandGroupKey.getInstance().getOperationName();
  }
  this.currentTotalRequest = hystrixCommandMetrics.getHealthCounts().getTotalRequests();
  this.currentErrorPercentage = hystrixCommandMetrics.getHealthCounts().getErrorCount();
  this.currentErrorCount = hystrixCommandMetrics.getHealthCounts().getErrorPercentage();
  this.requestVolumeThreshold = hystrixCommandMetrics.getProperties().circuitBreakerRequestVolumeThreshold().get();
  this.sleepWindowInMilliseconds =
    hystrixCommandMetrics.getProperties().circuitBreakerSleepWindowInMilliseconds().get();
  this.errorThresholdPercentage =
    hystrixCommandMetrics.getProperties().circuitBreakerErrorThresholdPercentage().get();
 }
}
org.apache.servicecomb.swagger.invocationInvocationTypename

Popular methods of InvocationType

  • equals

Popular in Java

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • getSharedPreferences (Context)
  • getResourceAsStream (ClassLoader)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • BoxLayout (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Table (org.hibernate.mapping)
    A relational table
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now