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

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

Best Java code snippets using org.quartz.impl.RemoteMBeanScheduler.toBoolean (Showing top 6 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: quartz/quartz-all

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
 * passing the <code>SchedulingContext</code> associated with this
 * instance.
 * </p>
 */
public void addCalendar(String calName, Calendar calendar, boolean replace, boolean updateTriggers)
  throws SchedulerException {
  invoke(
    "addCalendar", 
    new Object[] { schedulingContext, calName, calendar, toBoolean(replace), toBoolean(updateTriggers) }, 
    new String[] { SchedulingContext.class.getName(), String.class.getName(), 
        Calendar.class.getName(), boolean.class.getName(), boolean.class.getName() });
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
 * passing the <code>SchedulingContext</code> associated with this
 * instance.
 * </p>
 */
public void addCalendar(String calName, Calendar calendar, boolean replace, boolean updateTriggers)
  throws SchedulerException {
  invoke(
    "addCalendar", 
    new Object[] { schedulingContext, calName, calendar, toBoolean(replace), toBoolean(updateTriggers) }, 
    new String[] { SchedulingContext.class.getName(), String.class.getName(), 
        Calendar.class.getName(), boolean.class.getName(), boolean.class.getName() });
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
 * passing the <code>SchedulingContext</code> associated with this
 * instance.
 * </p>
 */
public void addJob(JobDetail jobDetail, boolean replace)
  throws SchedulerException {
  invoke(
    "addJob", 
    new Object[] { schedulingContext, jobDetail, toBoolean(replace) }, 
    new String[] { SchedulingContext.class.getName(), JobDetail.class.getName(), boolean.class.getName() });
}
origin: quartz/quartz-all

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>,
 * passing the <code>SchedulingContext</code> associated with this
 * instance.
 * </p>
 */
public void addJob(JobDetail jobDetail, boolean replace)
  throws SchedulerException {
  invoke(
    "addJob", 
    new Object[] { schedulingContext, jobDetail, toBoolean(replace) }, 
    new String[] { SchedulingContext.class.getName(), JobDetail.class.getName(), boolean.class.getName() });
}
origin: quartz/quartz-all

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public void shutdown(boolean waitForJobsToComplete)
  throws SchedulerException {
  // Have to get the scheduler name before we actually call shutdown.
  String schedulerName = getSchedulerName();
  
  invoke(
    "shutdown", 
    new Object[] { toBoolean(waitForJobsToComplete) }, 
    new String[] { boolean.class.getName() });
  
  SchedulerRepository.getInstance().remove(schedulerName);
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public void shutdown(boolean waitForJobsToComplete)
  throws SchedulerException {
  // Have to get the scheduler name before we actually call shutdown.
  String schedulerName = getSchedulerName();
  
  invoke(
    "shutdown", 
    new Object[] { toBoolean(waitForJobsToComplete) }, 
    new String[] { boolean.class.getName() });
  
  SchedulerRepository.getInstance().remove(schedulerName);
}
org.quartz.implRemoteMBeanSchedulertoBoolean

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.
  • isStarted
    Whether the scheduler has been started. Note: This only reflects whether #start() has ever been call
  • setSchedulingContext
    Set the scheduling context of this proxy.
  • standby
    Calls the equivalent method on the 'proxied' QuartzScheduler.
  • triggerJobWithVolatileTrigger
    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associ
  • standby,
  • triggerJobWithVolatileTrigger

Popular in Java

  • Making http requests using okhttp
  • setContentView (Activity)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • getExternalFilesDir (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
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