Codota Logo
BusinessContextRecognitionProcessor.process
Code IndexAdd Codota to your IDE (free)

How to use
process
method
in
rocks.inspectit.server.processor.impl.BusinessContextRecognitionProcessor

Best Java code snippets using rocks.inspectit.server.processor.impl.BusinessContextRecognitionProcessor.process (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: inspectIT/inspectIT

@Test
public void invalidInputData() {
  TimerData invalidInput = new TimerData();
  processor.process(invalidInput, entityManager);
  verifyNoMoreInteractions(ciService);
}
origin: inspectIT/inspectIT

@Test
public void matchEmptyApplication() {
  StringMatchingExpression stringMatchingExpression = new StringMatchingExpression(PatternMatchingType.CONTAINS, "root");
  stringMatchingExpression.setStringValueSource(stringValueSource);
  stringMatchingExpression.setSearchNodeInTrace(false);
  StringMatchingExpression stringMatchingExpression_2 = new StringMatchingExpression(PatternMatchingType.CONTAINS, "nothing");
  stringMatchingExpression_2.setStringValueSource(stringValueSource);
  stringMatchingExpression_2.setSearchNodeInTrace(false);
  applicationDefinition.setMatchingRuleExpression(stringMatchingExpression_2);
  applicationDefinition_empty.setMatchingRuleExpression(stringMatchingExpression);
  processor.process(root, entityManager);
  assertThat(root.getApplicationId(), equalTo(application_empty.getId()));
  assertThat(root.getBusinessTransactionId(), equalTo(businessTx_unknown.getId()));
}
origin: inspectIT/inspectIT

@Test
public void match() {
  StringMatchingExpression stringMatchingExpression = new StringMatchingExpression(PatternMatchingType.CONTAINS, "root");
  stringMatchingExpression.setStringValueSource(stringValueSource);
  stringMatchingExpression.setSearchNodeInTrace(false);
  StringMatchingExpression stringMatchingExpression_2 = new StringMatchingExpression(PatternMatchingType.CONTAINS, "nothing");
  stringMatchingExpression_2.setStringValueSource(stringValueSource);
  stringMatchingExpression_2.setSearchNodeInTrace(false);
  applicationDefinition.setMatchingRuleExpression(stringMatchingExpression);
  applicationDefinition_empty.setMatchingRuleExpression(stringMatchingExpression_2);
  businessTxDefinition_1.setMatchingRuleExpression(stringMatchingExpression_2);
  businessTxDefinition_2.setMatchingRuleExpression(stringMatchingExpression);
  processor.process(root, entityManager);
  assertThat(root.getApplicationId(), equalTo(application.getId()));
  assertThat(root.getBusinessTransactionId(), equalTo(businessTx_2.getId()));
}
origin: inspectIT/inspectIT

@Test
public void matchDefaultBT() {
  StringMatchingExpression stringMatchingExpression = new StringMatchingExpression(PatternMatchingType.CONTAINS, "root");
  stringMatchingExpression.setStringValueSource(stringValueSource);
  stringMatchingExpression.setSearchNodeInTrace(false);
  StringMatchingExpression stringMatchingExpression_2 = new StringMatchingExpression(PatternMatchingType.CONTAINS, "nothing");
  stringMatchingExpression_2.setStringValueSource(stringValueSource);
  stringMatchingExpression_2.setSearchNodeInTrace(false);
  applicationDefinition.setMatchingRuleExpression(stringMatchingExpression);
  applicationDefinition_empty.setMatchingRuleExpression(stringMatchingExpression_2);
  businessTxDefinition_1.setMatchingRuleExpression(stringMatchingExpression_2);
  businessTxDefinition_2.setMatchingRuleExpression(stringMatchingExpression_2);
  processor.process(root, entityManager);
  assertThat(root.getApplicationId(), equalTo(application.getId()));
  assertThat(root.getBusinessTransactionId(), equalTo(businessTx_unknown.getId()));
}
origin: inspectIT/inspectIT

@Test
public void matchDefaultAppAndBT() {
  StringMatchingExpression stringMatchingExpression = new StringMatchingExpression(PatternMatchingType.CONTAINS, "nothing");
  stringMatchingExpression.setStringValueSource(stringValueSource);
  stringMatchingExpression.setSearchNodeInTrace(false);
  StringMatchingExpression stringMatchingExpression_2 = new StringMatchingExpression(PatternMatchingType.CONTAINS, "nothing");
  stringMatchingExpression_2.setStringValueSource(stringValueSource);
  stringMatchingExpression_2.setSearchNodeInTrace(false);
  applicationDefinition.setMatchingRuleExpression(stringMatchingExpression);
  applicationDefinition_empty.setMatchingRuleExpression(stringMatchingExpression_2);
  businessTxDefinition_1.setMatchingRuleExpression(stringMatchingExpression_2);
  businessTxDefinition_2.setMatchingRuleExpression(stringMatchingExpression_2);
  processor.process(root, entityManager);
  assertThat(root.getApplicationId(), equalTo(application_unknown.getId()));
  assertThat(root.getBusinessTransactionId(), equalTo(businessTx_unknown.getId()));
}
origin: inspectIT/inspectIT

@Test
public void matchWithSearchInTrace() {
  StringMatchingExpression stringMatchingExpression = new StringMatchingExpression(PatternMatchingType.CONTAINS, "multiple");
  stringMatchingExpression.setStringValueSource(stringValueSource);
  stringMatchingExpression.setSearchNodeInTrace(true);
  stringMatchingExpression.setMaxSearchDepth(2);
  StringMatchingExpression stringMatchingExpression_2 = new StringMatchingExpression(PatternMatchingType.CONTAINS, "nothing");
  stringMatchingExpression_2.setStringValueSource(stringValueSource);
  stringMatchingExpression_2.setSearchNodeInTrace(false);
  applicationDefinition.setMatchingRuleExpression(stringMatchingExpression);
  applicationDefinition_empty.setMatchingRuleExpression(stringMatchingExpression_2);
  businessTxDefinition_1.setMatchingRuleExpression(stringMatchingExpression_2);
  businessTxDefinition_2.setMatchingRuleExpression(stringMatchingExpression);
  processor.process(root, entityManager);
  assertThat(root.getApplicationId(), equalTo(application.getId()));
  assertThat(root.getBusinessTransactionId(), equalTo(businessTx_2.getId()));
}
rocks.inspectit.server.processor.implBusinessContextRecognitionProcessorprocess

Popular methods of BusinessContextRecognitionProcessor

  • assignBusinessContext
    Assigns the business context to the passed InvocationSequenceData instance.
  • identify
    Identifies a matching rule provider.
  • onApplicationEvent

Popular in Java

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • getExternalFilesDir (Context)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now