Codota Logo
RemoteMBeanScheduler.isStarted
Code IndexAdd Codota to your IDE (free)

How to use
isStarted
method
in
org.quartz.impl.RemoteMBeanScheduler

Best Java code snippets using org.quartz.impl.RemoteMBeanScheduler.isStarted (Showing top 2 results out of 315)

  • Common ways to obtain RemoteMBeanScheduler
private void myMethod () {
RemoteMBeanScheduler r =
  • Codota IconClassLoadHelper classLoadHelper;String name;(RemoteMBeanScheduler) classLoadHelper.loadClass(name).newInstance()
  • Smart code suggestions by Codota
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

public SchedulerMetaData getMetaData() throws SchedulerException {
  AttributeList attributeList = 
    getAttributes(
      new String[] {
        "schedulerName",
        "schedulerInstanceId",
        "inStandbyMode",
        "shutdown",
        "jobStoreClass",
        "threadPoolClass",
        "threadPoolSize",
        "version"
      });
  
  return new SchedulerMetaData(
      (String)attributeList.get(0),
      (String)attributeList.get(1),
      getClass(), true, isStarted(), 
      ((Boolean)attributeList.get(2)).booleanValue(), 
      ((Boolean)attributeList.get(3)).booleanValue(), 
      (Date)invoke("runningSince", new Object[] {}, new String[] {}), 
      ((Integer)invoke("numJobsExecuted", new Object[] {}, new String[] {})).intValue(),
      (Class)attributeList.get(4),
      ((Boolean)invoke("supportsPersistence", new Object[] {}, new String[] {})).booleanValue(),
      (Class)attributeList.get(5),
      ((Integer)attributeList.get(6)).intValue(),
      (String)attributeList.get(7));
}
origin: quartz/quartz-all

public SchedulerMetaData getMetaData() throws SchedulerException {
  AttributeList attributeList = 
    getAttributes(
      new String[] {
        "schedulerName",
        "schedulerInstanceId",
        "inStandbyMode",
        "shutdown",
        "jobStoreClass",
        "threadPoolClass",
        "threadPoolSize",
        "version"
      });
  
  return new SchedulerMetaData(
      (String)attributeList.get(0),
      (String)attributeList.get(1),
      getClass(), true, isStarted(), 
      ((Boolean)attributeList.get(2)).booleanValue(), 
      ((Boolean)attributeList.get(3)).booleanValue(), 
      (Date)invoke("runningSince", new Object[] {}, new String[] {}), 
      ((Integer)invoke("numJobsExecuted", new Object[] {}, new String[] {})).intValue(),
      (Class)attributeList.get(4),
      ((Boolean)invoke("supportsPersistence", new Object[] {}, new String[] {})).booleanValue(),
      (Class)attributeList.get(5),
      ((Integer)attributeList.get(6)).intValue(),
      (String)attributeList.get(7));
}
org.quartz.implRemoteMBeanSchedulerisStarted

Javadoc

Whether the scheduler has been started.

Note: This only reflects whether #start() has ever been called on this Scheduler, so it will return true even if the Scheduler is currently in standby mode or has been since shutdown.

Popular methods of RemoteMBeanScheduler

  • getAttribute
  • getAttributes
    Get the given attributes of the remote Scheduler MBean.
  • getSchedulerName
    Returns the name of the Scheduler.
  • initialize
    Initialize this RemoteMBeanScheduler instance, connecting to the remote MBean server.
  • invoke
    Invoke the given operation on the remote Scheduler MBean.
  • setSchedulerObjectName
    Set the name under which the Scheduler MBean is registered on the remote MBean server.
  • triggerJob
    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associ
  • isInStandbyMode
    Calls the equivalent method on the 'proxied' QuartzScheduler.
  • setSchedulingContext
    Set the scheduling context of this proxy.
  • standby
    Calls the equivalent method on the 'proxied' QuartzScheduler.
  • toBoolean
  • triggerJobWithVolatileTrigger
    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associ
  • toBoolean,
  • triggerJobWithVolatileTrigger

Popular in Java

  • Start an intent from android
  • getResourceAsStream (ClassLoader)
  • startActivity (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
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