Codota Logo
RemotableQuartzScheduler
Code IndexAdd Codota to your IDE (free)

How to use
RemotableQuartzScheduler
in
org.quartz.core

Best Java code snippets using org.quartz.core.RemotableQuartzScheduler (Showing top 20 results out of 315)

  • Common ways to obtain RemotableQuartzScheduler
private void myMethod () {
RemotableQuartzScheduler r =
  • Codota IconRegistry registry;String name;(RemotableQuartzScheduler) registry.lookup(name)
  • Codota IconQuartzScheduler quartzScheduler;(RemotableQuartzScheduler) UnicastRemoteObject.exportObject(quartzScheduler)
  • Codota IconQuartzScheduler quartzScheduler;QuartzSchedulerResources quartzSchedulerResources;(RemotableQuartzScheduler) UnicastRemoteObject.exportObject(quartzScheduler, quartzSchedulerResources.getRMIServerPort())
  • Smart code suggestions by Codota
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public void addCalendar(String calName, Calendar calendar, boolean replace, boolean updateTriggers)
  throws SchedulerException {
  try {
    getRemoteScheduler().addCalendar(calName, calendar,
        replace, updateTriggers);
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

public void addJob(JobDetail jobDetail, boolean replace, boolean storeNonDurableWhileAwaitingScheduling)
    throws SchedulerException {
  try {
    getRemoteScheduler().addJob(jobDetail, replace, storeNonDurableWhileAwaitingScheduling);
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public boolean deleteCalendar(String calName) throws SchedulerException {
  try {
    return getRemoteScheduler().deleteCalendar(calName);
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

public SchedulerMetaData getMetaData() throws SchedulerException {
  try {
    RemotableQuartzScheduler sched = getRemoteScheduler();
    return new SchedulerMetaData(getSchedulerName(),
        getSchedulerInstanceId(), getClass(), true, isStarted(), 
        isInStandbyMode(), isShutdown(), sched.runningSince(), 
        sched.numJobsExecuted(), sched.getJobStoreClass(), 
        sched.supportsPersistence(), sched.isClustered(), sched.getThreadPoolClass(), 
        sched.getThreadPoolSize(), sched.getVersion());
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public List<String> getCalendarNames() throws SchedulerException {
  try {
    return getRemoteScheduler().getCalendarNames();
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public Calendar getCalendar(String calName) throws SchedulerException {
  try {
    return getRemoteScheduler().getCalendar(calName);
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public List<JobExecutionContext> getCurrentlyExecutingJobs() throws SchedulerException {
  try {
    return getRemoteScheduler().getCurrentlyExecutingJobs();
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public List<String> getJobGroupNames() throws SchedulerException {
  try {
    return getRemoteScheduler().getJobGroupNames();
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public boolean deleteJob(JobKey jobKey)
  throws SchedulerException {
  try {
    return getRemoteScheduler()
        .deleteJob(jobKey);
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public JobDetail getJobDetail(JobKey jobKey)
  throws SchedulerException {
  try {
    return getRemoteScheduler().getJobDetail(jobKey);
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

public SchedulerMetaData getMetaData() throws SchedulerException {
  try {
    RemotableQuartzScheduler sched = getRemoteScheduler();
    return new SchedulerMetaData(getSchedulerName(),
        getSchedulerInstanceId(), getClass(), true, isStarted(), 
        isInStandbyMode(), isShutdown(), sched.runningSince(), 
        sched.numJobsExecuted(), sched.getJobStoreClass(), 
        sched.supportsPersistence(), sched.isClustered(), sched.getThreadPoolClass(), 
        sched.getThreadPoolSize(), sched.getVersion());
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public List<String> getCalendarNames() throws SchedulerException {
  try {
    return getRemoteScheduler().getCalendarNames();
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public Calendar getCalendar(String calName) throws SchedulerException {
  try {
    return getRemoteScheduler().getCalendar(calName);
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public List<JobExecutionContext> getCurrentlyExecutingJobs() throws SchedulerException {
  try {
    return getRemoteScheduler().getCurrentlyExecutingJobs();
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public List<String> getJobGroupNames() throws SchedulerException {
  try {
    return getRemoteScheduler().getJobGroupNames();
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public boolean deleteJob(JobKey jobKey)
  throws SchedulerException {
  try {
    return getRemoteScheduler()
        .deleteJob(jobKey);
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public JobDetail getJobDetail(JobKey jobKey)
  throws SchedulerException {
  try {
    return getRemoteScheduler().getJobDetail(jobKey);
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz/quartz-all

public SchedulerMetaData getMetaData() throws SchedulerException {
  try {
    RemotableQuartzScheduler sched = getRemoteScheduler();
    return new SchedulerMetaData(getSchedulerName(),
        getSchedulerInstanceId(), getClass(), true, isStarted(), 
        isInStandbyMode(), isShutdown(), sched.runningSince(), 
        sched.numJobsExecuted(), sched.getJobStoreClass(), 
        sched.supportsPersistence(), sched.getThreadPoolClass(), 
        sched.getThreadPoolSize(), sched.getVersion());
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

public void addJob(JobDetail jobDetail, boolean replace, boolean storeNonDurableWhileAwaitingScheduling)
    throws SchedulerException {
  try {
    getRemoteScheduler().addJob(jobDetail, replace, storeNonDurableWhileAwaitingScheduling);
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
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 String[] getCalendarNames() throws SchedulerException {
  try {
    return getRemoteScheduler().getCalendarNames(schedCtxt);
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
org.quartz.coreRemotableQuartzScheduler

Most used methods

  • addCalendar
  • addJob
  • deleteCalendar
  • deleteJob
  • getCalendar
  • getCalendarNames
  • getCurrentlyExecutingJobs
  • getJobDetail
  • getJobGroupNames
  • getJobStoreClass
  • getPausedTriggerGroups
  • getSchedulerContext
  • getPausedTriggerGroups,
  • getSchedulerContext,
  • getSchedulerInstanceId,
  • getSchedulerName,
  • getThreadPoolClass,
  • getThreadPoolSize,
  • getTrigger,
  • getTriggerGroupNames,
  • getTriggerState,
  • getTriggersOfJob

Popular in Java

  • Creating JSON documents from java classes using gson
  • putExtra (Intent)
  • onCreateOptionsMenu (Activity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Reference (javax.naming)
  • BoxLayout (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Option (scala)
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