Tabnine Logo
SensorInstrumentationPoint.setConstructor
Code IndexAdd Tabnine to your IDE (free)

How to use
setConstructor
method
in
rocks.inspectit.shared.all.instrumentation.config.impl.SensorInstrumentationPoint

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

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.implSensorInstrumentationPointsetConstructor

Javadoc

Sets #constructor.

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.
  • <init>
  • addPropertyAccessor
    Adds one PropertyPathStart to the list of the property acc list.
  • addSettings
    Adds all given settings to the settings map.
  • isPropertyAccess
  • addSettings,
  • isPropertyAccess,
  • setId,
  • setStartsInvocation

Popular in Java

  • Making http post requests using okhttp
  • onCreateOptionsMenu (Activity)
  • compareTo (BigDecimal)
  • setRequestProperty (URLConnection)
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Best plugins for Eclipse
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