IRemotableQuartzScheduler.cs :  » Business-Application » Quartz-Enterprise-Scheduler » Quartz » Simpl » C# / CSharp Open Source

Home
C# / CSharp Open Source
1.2.6.4 mono .net core
2.2.6.4 mono core
3.Aspect Oriented Frameworks
4.Bloggers
5.Build Systems
6.Business Application
7.Charting Reporting Tools
8.Chat Servers
9.Code Coverage Tools
10.Content Management Systems CMS
11.CRM ERP
12.Database
13.Development
14.Email
15.Forum
16.Game
17.GIS
18.GUI
19.IDEs
20.Installers Generators
21.Inversion of Control Dependency Injection
22.Issue Tracking
23.Logging Tools
24.Message
25.Mobile
26.Network Clients
27.Network Servers
28.Office
29.PDF
30.Persistence Frameworks
31.Portals
32.Profilers
33.Project Management
34.RSS RDF
35.Rule Engines
36.Script
37.Search Engines
38.Sound Audio
39.Source Control
40.SQL Clients
41.Template Engines
42.Testing
43.UML
44.Web Frameworks
45.Web Service
46.Web Testing
47.Wiki Engines
48.Windows Presentation Foundation
49.Workflows
50.XML Parsers
C# / C Sharp
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source » Business Application » Quartz Enterprise Scheduler 
Quartz Enterprise Scheduler » Quartz » Simpl » IRemotableQuartzScheduler.cs
using System;
using System.Collections;

#if NET_20
using NullableDateTimeSystem.NullableSystem.DateTime;
#else
using Nullables;
#endif

using Quartz;
using Quartz.Collection;
using Quartz.Core;

namespace Quartz.Simpl{
  public interface IRemotableQuartzScheduler
  {
    string SchedulerName { get; }
    string SchedulerInstanceId { get; }
    SchedulerContext SchedulerContext { get; }
    bool InStandbyMode { get; }
    bool IsShutdown { get; }
    string Version { get; }
    Type JobStoreClass { get; }
    Type ThreadPoolClass { get; }
    int ThreadPoolSize { get; }
    IList CurrentlyExecutingJobs { get; }
    IList GlobalJobListeners { get; }
    ISet JobListenerNames { get; }
    IList GlobalTriggerListeners { get; }
    ISet TriggerListenerNames { get; }
    IList SchedulerListeners { get; }

    /// <summary>
    /// Starts this instance.
    /// </summary>
    void Start();

      void StartDelayed(TimeSpan delay);

    /// <summary>
    /// Standbies this instance.
    /// </summary>
    void Standby();

    /// <summary>
    /// Shutdowns this instance.
    /// </summary>
    void Shutdown();

        void Shutdown(bool waitForJobsToComplete);

        NullableDateTime RunningSince { get; }

        int NumJobsExecuted { get; }

    bool SupportsPersistence { get; }

    DateTime ScheduleJob(SchedulingContext ctxt, JobDetail jobDetail, Trigger trigger);

    DateTime ScheduleJob(SchedulingContext ctxt, Trigger trigger);

    void AddJob(SchedulingContext ctxt, JobDetail jobDetail, bool replace);

        /// <summary>
        /// returns true if the given JobGroup
        /// is paused
        /// </summary>
        /// <param name="ctxt">The scheduling context.</param>
        /// <param name="groupName"></param>
        /// <returns></returns>
        bool IsJobGroupPaused(SchedulingContext ctxt,string groupName);

        /// <summary>
        /// returns true if the given TriggerGroup
        /// is paused
        /// </summary>
        /// <param name="ctxt"></param>
        /// <param name="groupName"></param>
        /// <returns></returns>
        bool IsTriggerGroupPaused(SchedulingContext ctxt,string groupName);
        
      bool DeleteJob(SchedulingContext ctxt, string jobName, string groupName);

    bool UnscheduleJob(SchedulingContext ctxt, string triggerName, string groupName);

        NullableDateTime RescheduleJob(SchedulingContext ctxt, string triggerName, string groupName, Trigger newTrigger);

    void TriggerJob(SchedulingContext ctxt, string jobName, string groupName, JobDataMap data);

    void TriggerJobWithVolatileTrigger(SchedulingContext ctxt, string jobName, string groupName, JobDataMap data);

    void PauseTrigger(SchedulingContext ctxt, string triggerName, string groupName);

    void PauseTriggerGroup(SchedulingContext ctxt, string groupName);

    void PauseJob(SchedulingContext ctxt, string jobName, string groupName);

    void PauseJobGroup(SchedulingContext ctxt, string groupName);

    void ResumeTrigger(SchedulingContext ctxt, string triggerName, string groupName);

    void ResumeTriggerGroup(SchedulingContext ctxt, string groupName);

    ISet GetPausedTriggerGroups(SchedulingContext ctxt);

    void ResumeJob(SchedulingContext ctxt, string jobName, string groupName);

    void ResumeJobGroup(SchedulingContext ctxt, string groupName);

    void PauseAll(SchedulingContext ctxt);

    void ResumeAll(SchedulingContext ctxt);

    string[] GetJobGroupNames(SchedulingContext ctxt);

    string[] GetJobNames(SchedulingContext ctxt, string groupName);

    Trigger[] GetTriggersOfJob(SchedulingContext ctxt, string jobName, string groupName);

    string[] GetTriggerGroupNames(SchedulingContext ctxt);

    string[] GetTriggerNames(SchedulingContext ctxt, string groupName);

    JobDetail GetJobDetail(SchedulingContext ctxt, string jobName, string jobGroup);

    Trigger GetTrigger(SchedulingContext ctxt, string triggerName, string triggerGroup);

    TriggerState GetTriggerState(SchedulingContext ctxt, string triggerName, string triggerGroup);

    void AddCalendar(SchedulingContext ctxt, string calName, ICalendar calendar, bool replace, bool updateTriggers);

    bool DeleteCalendar(SchedulingContext ctxt, string calName);

    ICalendar GetCalendar(SchedulingContext ctxt, string calName);

    string[] GetCalendarNames(SchedulingContext ctxt);

    void AddGlobalJobListener(IJobListener jobListener);

    void AddJobListener(IJobListener jobListener);

    bool RemoveGlobalJobListener(IJobListener jobListener);

    bool RemoveJobListener(string name);

    IJobListener GetJobListener(string name);

    void AddGlobalTriggerListener(ITriggerListener triggerListener);

    void AddTriggerListener(ITriggerListener triggerListener);

    bool RemoveGlobalTriggerListener(ITriggerListener triggerListener);

    bool RemoveTriggerListener(string name);

    ITriggerListener GetTriggerListener(string name);

    void AddSchedulerListener(ISchedulerListener schedulerListener);

    bool RemoveSchedulerListener(ISchedulerListener schedulerListener);

    bool Interrupt(SchedulingContext ctxt, string jobName, string groupName);
  }
}
www.java2v.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.