org.quartz.core.RemotableQuartzScheduler Java Examples

The following examples show how to use org.quartz.core.RemotableQuartzScheduler. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RemoteScheduler.java    From lams with GNU General Public License v2.0 6 votes vote down vote up
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);
    }

}
 
Example #2
Source File: RemoteScheduler.java    From AsuraFramework with Apache License 2.0 6 votes vote down vote up
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);
    }

}
 
Example #3
Source File: QuartzSubstitutions.java    From quarkus with Apache License 2.0 4 votes vote down vote up
@Substitute
protected RemotableQuartzScheduler getRemoteScheduler() {
    return null;
}