Tabnine Logo
ExecutionStatistics$TimingData
Code IndexAdd Tabnine to your IDE (free)

How to use
ExecutionStatistics$TimingData
in
org.jboss.windup.util

Best Java code snippets using org.jboss.windup.util.ExecutionStatistics$TimingData (Showing top 8 results out of 315)

origin: org.jboss.windup.utils/utils

/**
 * Complete timing the operation with the given identifier. If you had not previously started a timing operation with this identifier, then this
 * will effectively be a noop.
 */
public void end(String key)
{
  if (key == null)
  {
    return;
  }
  TimingData data = executionInfo.get(key);
  if (data == null)
  {
    LOG.info("Called end with key: " + key + " without ever calling begin");
    return;
  }
  data.end();
}
origin: windup/windup

/**
 * Merge two ExecutionStatistics into one. This method is private in order not to be synchronized (merging.
 * @param otherStatistics
 */
private void merge(ExecutionStatistics otherStatistics) {
  for (String s : otherStatistics.executionInfo.keySet())
  {
    TimingData thisStats = this.executionInfo.get(s);
    TimingData otherStats = otherStatistics.executionInfo.get(s);
    if(thisStats == null) {
      this.executionInfo.put(s,otherStats);
    } else {
      thisStats.merge(otherStats);
    }
  }
}
origin: windup/windup

/**
 * Complete timing the operation with the given identifier. If you had not previously started a timing operation with this identifier, then this
 * will effectively be a noop.
 */
public void end(String key)
{
  if (key == null)
  {
    return;
  }
  TimingData data = executionInfo.get(key);
  if (data == null)
  {
    LOG.info("Called end with key: " + key + " without ever calling begin");
    return;
  }
  data.end();
}
origin: org.jboss.windup.utils/windup-utils

/**
 * Complete timing the operation with the given identifier. If you had not previously started a timing operation with this identifier, then this
 * will effectively be a noop.
 */
public void end(String key)
{
  if (key == null)
  {
    return;
  }
  TimingData data = executionInfo.get(key);
  if (data == null)
  {
    LOG.info("Called end with key: " + key + " without ever calling begin");
    return;
  }
  data.end();
}
origin: org.jboss.windup.utils/utils

/**
 * Start timing an operation with the given identifier.
 */
public void begin(String key)
{
  if (key == null)
  {
    return;
  }
  TimingData data = executionInfo.get(key);
  if (data == null)
  {
    data = new TimingData(key);
    executionInfo.put(key, data);
  }
  data.begin();
}
origin: org.jboss.windup.utils/windup-utils

/**
 * Start timing an operation with the given identifier.
 */
public void begin(String key)
{
  if (key == null)
  {
    return;
  }
  TimingData data = executionInfo.get(key);
  if (data == null)
  {
    data = new TimingData(key);
    executionInfo.put(key, data);
  }
  data.begin();
}
origin: org.jboss.windup.utils/windup-utils

/**
 * Merge two ExecutionStatistics into one. This method is private in order not to be synchronized (merging.
 * @param otherStatistics
 */
private void merge(ExecutionStatistics otherStatistics) {
  for (String s : otherStatistics.executionInfo.keySet())
  {
    TimingData thisStats = this.executionInfo.get(s);
    TimingData otherStats = otherStatistics.executionInfo.get(s);
    if(thisStats == null) {
      this.executionInfo.put(s,otherStats);
    } else {
      thisStats.merge(otherStats);
    }
  }
}
origin: windup/windup

/**
 * Start timing an operation with the given identifier.
 */
public void begin(String key)
{
  if (key == null)
  {
    return;
  }
  TimingData data = executionInfo.get(key);
  if (data == null)
  {
    data = new TimingData(key);
    executionInfo.put(key, data);
  }
  data.begin();
}
org.jboss.windup.utilExecutionStatistics$TimingData

Most used methods

  • <init>
  • begin
  • end
  • merge

Popular in Java

  • Reactive rest calls using spring rest template
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • getSharedPreferences (Context)
  • String (java.lang)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top PhpStorm plugins
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