Codota Logo
SensorInstrumentationPoint.<init>
Code IndexAdd Codota to your IDE (free)

How to use
rocks.inspectit.shared.all.instrumentation.config.impl.SensorInstrumentationPoint
constructor

Best Java code snippets using rocks.inspectit.shared.all.instrumentation.config.impl.SensorInstrumentationPoint.<init> (Showing top 1 results out of 315)

  • Common ways to obtain SensorInstrumentationPoint
private void myMethod () {
SensorInstrumentationPoint s =
  • Codota IconMethodInstrumentationConfig methodInstrumentationConfig;methodInstrumentationConfig.getSensorInstrumentationPoint()
  • Smart code suggestions by Codota
}
origin: inspectIT/inspectIT

/**
 * Checks if the {@link SensorInstrumentationPoint} exists in the
 * {@link MethodInstrumentationConfig}. If not new one is created, registered with registration
 * service and saved in the {@link MethodInstrumentationConfig}.
 *
 * @param agentConfiguration
 *            {@link AgentConfig} to read platform id.
 * @param methodType
 *            {@link MethodType} in question.
 * @param methodInstrumentationConfig
 *            {@link MethodInstrumentationConfig}.
 * @return {@link SensorInstrumentationPoint} for the {@link MethodInstrumentationConfig}.
 */
protected SensorInstrumentationPoint getOrCreateSensorInstrumentationPoint(AgentConfig agentConfiguration, MethodType methodType, MethodInstrumentationConfig methodInstrumentationConfig) {
  // check for existing
  SensorInstrumentationPoint sensorInstrumentationPoint = methodInstrumentationConfig.getSensorInstrumentationPoint();
  // if not create new one
  if (null == sensorInstrumentationPoint) {
    // if not create new and register
    long id = registerMethod(agentConfiguration, methodType, methodInstrumentationConfig);
    sensorInstrumentationPoint = new SensorInstrumentationPoint();
    sensorInstrumentationPoint.setId(id);
    if (Character.CONSTRUCTOR.equals(methodType.getMethodCharacter())) {
      sensorInstrumentationPoint.setConstructor(true);
    }
    // set to method instrumentation
    methodInstrumentationConfig.setSensorInstrumentationPoint(sensorInstrumentationPoint);
  }
  return sensorInstrumentationPoint;
}
rocks.inspectit.shared.all.instrumentation.config.implSensorInstrumentationPoint<init>

Popular methods of SensorInstrumentationPoint

  • getSensorIds
  • getId
  • getPropertyAccessorList
  • getSettings
  • isConstructor
    Gets #constructor.
  • isStartsInvocation
  • addSensorId
    Adds sensor Id if one does not exists already and properly sorts the id in the #sensorIds array base
  • containsSensorId
    If sensor if is contained in this SensorInstrumentationPoint.
  • addPropertyAccessor
    Adds one PropertyPathStart to the list of the property acc list.
  • addSettings
    Adds all given settings to the settings map.
  • isPropertyAccess
  • setConstructor
    Sets #constructor.
  • isPropertyAccess,
  • setConstructor,
  • setId,
  • setStartsInvocation

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSystemService (Context)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • getContentResolver (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • JComboBox (javax.swing)
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