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

How to use
getRuntime
method
in
org.opencms.report.A_CmsReportThread

Best Java code snippets using org.opencms.report.A_CmsReportThread.getRuntime (Showing top 2 results out of 315)

origin: org.opencms/opencms-core

/**
 * Returns true if this thread is already "doomed" to be deleted.<p>
 *
 * A OpenCms deamon Thread (the "Grim Reaper") will collect all
 * doomed Threads, i.e. threads that are not longer active for some
 * time.<p>
 *
 * @return true if this thread is already "doomed" to be deleted
 */
public synchronized boolean isDoomed() {
  if (isAlive()) {
    // as long as the Thread is still active it is never doomed
    return false;
  }
  if (m_doomed) {
    // not longer active, and already doomed, so rest in peace...
    return true;
  }
  // condemn the Thread to be collected by the grim reaper next time
  m_starttime = getRuntime();
  m_doomed = true;
  return false;
}
origin: org.opencms/opencms-solr

/**
 * Returns true if this thread is already "doomed" to be deleted.<p>
 * 
 * A OpenCms deamon Thread (the "Grim Reaper") will collect all 
 * doomed Threads, i.e. threads that are not longer active for some
 * time.<p>
 * 
 * @return true if this thread is already "doomed" to be deleted
 */
public synchronized boolean isDoomed() {
  if (isAlive()) {
    // as long as the Thread is still active it is never doomed
    return false;
  }
  if (m_doomed) {
    // not longer active, and already doomed, so rest in peace...
    return true;
  }
  // condemn the Thread to be collected by the grim reaper next time  
  m_starttime = getRuntime();
  m_doomed = true;
  return false;
}
org.opencms.reportA_CmsReportThreadgetRuntime

Javadoc

Returns the time this report has been running.

Popular methods of A_CmsReportThread

  • getReportUpdate
    Returns the part of the report that is ready for output.
  • isAlive
  • getName
  • getReport
    Returns the report where the output of this Thread is written to.
  • getUUID
    Returns the OpenCms UUID of this report thread.
  • hasError
    Returns if the report generated an error output.
  • isDoomed
    Returns true if this thread is already "doomed" to be deleted. A OpenCms deamon Thread (the "Grim Re
  • join
  • setDaemon
  • setName
  • start
  • getLastEntryTime
    Returns the time of last report entry. Will return zero if no entry has been written.
  • start,
  • getLastEntryTime,
  • getLogChannel,
  • interrupt

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • putExtra (Intent)
  • onRequestPermissionsResult (Fragment)
  • Kernel (java.awt.image)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • 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