congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
UimaMonitor.finishFunctionTrace
Code IndexAdd Tabnine to your IDE (free)

How to use
finishFunctionTrace
method
in
uk.gov.dstl.baleen.uima.UimaMonitor

Best Java code snippets using uk.gov.dstl.baleen.uima.UimaMonitor.finishFunctionTrace (Showing top 2 results out of 315)

origin: dstl/baleen

/**
 * Override of the UIMA hasNext() method with logic to continuously check for new documents until
 * one is found. This prevents the collection reader from exiting (unless asked to), and so
 * creates a persistent collection reader and pipeline.
 */
@Override
public final boolean hasNext() throws IOException, CollectionException {
 monitor.startFunctionTrace("hasNext");
 boolean next = doHasNext();
 monitor.finishFunctionTrace("hasNext");
 return next;
}
origin: uk.gov.dstl.baleen/baleen-uima

/**
 * Override of the UIMA hasNext() method with logic to continuously check for new documents until
 * one is found. This prevents the collection reader from exiting (unless asked to), and so
 * creates a persistent collection reader and pipeline.
 */
@Override
public final boolean hasNext() throws IOException, CollectionException {
 monitor.startFunctionTrace("hasNext");
 boolean next = doHasNext();
 monitor.finishFunctionTrace("hasNext");
 return next;
}
uk.gov.dstl.baleen.uimaUimaMonitorfinishFunctionTrace

Javadoc

Finish the timer at the end of the function, and log that the function has finished Logs to TRACE level rather than DEBUG, as some functions are called so often we don't want to fill up the logs!

Popular methods of UimaMonitor

  • warn
    Log a warning level message.
  • info
    Log an info level message.
  • error
    Log an error level message.
  • debug
    Log a debug level message.
  • <init>
    Constructor to create a UimaMonitor. The class and pipeline name should be specified so that we can
  • trace
    Log a trace level message.
  • counter
    Get the counter metric with the supplied name, within the scope of this monitor.
  • entityAdded
    Register that an entity of a specific type has been added
  • entityRemoved
    Register that an entity of a specific type has been removed
  • finishFunction
    Finish the timer at the end of the function, and log that the function has finished
  • getPipelineName
    Get the name of the pipeline to which this belongs.
  • meter
    Get the meter metric with the supplied name, within the scope of this monitor.
  • getPipelineName,
  • meter,
  • persistCounts,
  • startFunction,
  • histogram,
  • startFunctionTrace,
  • stopTimer,
  • timer

Popular in Java

  • Reading from database using SQL prepared statement
  • getSharedPreferences (Context)
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (Timer)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • ImageIO (javax.imageio)
  • Join (org.hibernate.mapping)
  • Github Copilot alternatives
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