Tabnine Logo
RemoteScheduler
Code IndexAdd Tabnine to your IDE (free)

How to use
RemoteScheduler
in
org.quartz.impl

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

origin: quartz-scheduler/quartz

public boolean deleteJobs(List<JobKey> jobKeys) throws SchedulerException {
  try {
    return getRemoteScheduler().deleteJobs(jobKeys);
  } 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 void triggerJob(JobKey jobKey)
  throws SchedulerException {
  triggerJob(jobKey, null);
}

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 void shutdown() throws SchedulerException {
  try {
    String schedulerName = getSchedulerName();
    
    getRemoteScheduler().shutdown();
    
    SchedulerRepository.getInstance().remove(schedulerName);
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

    schedulerName, schedulerInstanceId);
RemoteScheduler remoteScheduler = new RemoteScheduler(uid, rmiHost, rmiPort);
origin: com.opensymphony.quartz/com.springsource.org.quartz

public boolean isPaused() throws SchedulerException {
  return this.isInStandbyMode();
}
/**
origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * @see org.quartz.Scheduler#pause()
 * @deprecated
 */
public void pause() throws SchedulerException {
  this.standby();
}    
 
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 void shutdown() throws SchedulerException {
  try {
    String schedulerName = getSchedulerName();
    
    getRemoteScheduler().shutdown();
    
    SchedulerRepository.getInstance().remove(schedulerName);
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

    schedulerName, schedulerInstanceId);
RemoteScheduler remoteScheduler = new RemoteScheduler(uid, rmiHost, rmiPort);
origin: quartz/quartz-all

public boolean isPaused() throws SchedulerException {
  return this.isInStandbyMode();
}
/**
origin: quartz/quartz-all

/**
 * @see org.quartz.Scheduler#pause()
 * @deprecated
 */
public void pause() throws SchedulerException {
  this.standby();
}    

origin: quartz-scheduler/quartz

/** 
 * @see org.quartz.Scheduler#getPausedTriggerGroups()
 */
public Set<String> getPausedTriggerGroups() throws SchedulerException {
  try {
    return getRemoteScheduler().getPausedTriggerGroups();
  } 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

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public void shutdown(boolean waitForJobsToComplete)
  throws SchedulerException {
  try {
    String schedulerName = getSchedulerName();
    
    getRemoteScheduler().shutdown(waitForJobsToComplete);
    SchedulerRepository.getInstance().remove(schedulerName);
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
origin: quartz-scheduler/quartz

    schedName, schedInstId) : rmiBindName;
RemoteScheduler remoteScheduler = new RemoteScheduler(uid, rmiHost, rmiPort);
origin: quartz-scheduler/quartz

/**
 * <p>
 * Calls the equivalent method on the 'proxied' <code>QuartzScheduler</code>.
 * </p>
 */
public void triggerJob(JobKey jobKey)
  throws SchedulerException {
  triggerJob(jobKey, null);
}

origin: quartz-scheduler/quartz

public void scheduleJobs(Map<JobDetail, Set<? extends Trigger>> triggersAndJobs, boolean replace) throws SchedulerException {
    try {
      getRemoteScheduler().scheduleJobs(triggersAndJobs, replace);
    } catch (RemoteException re) {
      throw invalidateHandleCreateException(
          "Error communicating with remote scheduler.", re);
    }
}

origin: com.opensymphony.quartz/com.springsource.org.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.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 void shutdown(boolean waitForJobsToComplete)
  throws SchedulerException {
  try {
    String schedulerName = getSchedulerName();
    
    getRemoteScheduler().shutdown(waitForJobsToComplete);
    SchedulerRepository.getInstance().remove(schedulerName);
  } catch (RemoteException re) {
    throw invalidateHandleCreateException(
        "Error communicating with remote scheduler.", re);
  }
}
org.quartz.implRemoteScheduler

Javadoc

An implementation of the Scheduler interface that remotely proxies all method calls to the equivalent call on a given QuartzScheduler instance, via RMI.

Most used methods

  • <init>
    Construct a RemoteScheduler instance to proxy the given RemoteableQuartzScheduler instance, and wit
  • getRemoteScheduler
  • getSchedulerInstanceId
    Returns the instance Id of the Scheduler.
  • getSchedulerName
    Returns the name of the Scheduler.
  • invalidateHandleCreateException
  • isInStandbyMode
    Calls the equivalent method on the 'proxied' QuartzScheduler.
  • isShutdown
    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
  • triggerJob
    Calls the equivalent method on the 'proxied' QuartzScheduler.
  • standby
    Calls the equivalent method on the 'proxied' QuartzScheduler.
  • triggerJobWithVolatileTrigger
    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associ
  • triggerJobWithVolatileTrigger

Popular in Java

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • getApplicationContext (Context)
  • onRequestPermissionsResult (Fragment)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • 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