Class SchedulerManager
Inheritance
System.Object
SchedulerManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FixAntenna.FixEngine.Manager.Scheduler
Assembly: FixAntenna.Core.dll
Syntax
public class SchedulerManager
Methods
Cancel(SchedulerTask)
Cancel the task.
Declaration
public virtual void Cancel(SchedulerTask schedulerTask)
Parameters
Type | Name | Description |
---|---|---|
SchedulerTask | schedulerTask | the task |
Schedule(SchedulerTask, Int64)
Schedule the task.
Declaration
public virtual void Schedule(SchedulerTask schedulerTask, long scheduleTimestamp)
Parameters
Type | Name | Description |
---|---|---|
SchedulerTask | schedulerTask | the task |
System.Int64 | scheduleTimestamp | the timestamp |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | if task was scheduled. |
Schedule(SchedulerTask, Int64, Int32)
Schedule the task.
Declaration
public virtual void Schedule(SchedulerTask schedulerTask, long scheduleTimestamp, int period)
Parameters
Type | Name | Description |
---|---|---|
SchedulerTask | schedulerTask | the task |
System.Int64 | scheduleTimestamp | the timestamp |
System.Int32 | period | the period, in milliseconds |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | if task was scheduled. |
Shutdown()
Shutdown the manager.
Declaration
public virtual void Shutdown()