The FileScanJob type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FileScanJob |
Initializes a new instance of the FileScanJob class.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Execute |
Called by the IScheduler when a ITrigger
fires that is associated with the IJob.
The implementation may wish to set a result object on the JobExecutionContext before this method exits. The result itself is meaningless to Quartz, but may be informative to IJobListeners or ITriggerListeners that are watching the job's execution. | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLastModifiedDate |
Gets the last modified date.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
FileName |
JobDataMap key with which to specify the name of the file to monitor.
| |
FileScanListenerName |
JobDataMap key with which to specify the IFileScanListener
to be notified when the file contents change.
| |
MinimumUpdateAge | JobDataMap key with which to specify a long
value that represents the minimum number of milliseconds that must have
past since the file's last modified time in order to consider the file
new/altered. This is necessary because another process may still be
in the middle of writing to the file when the scan occurs, and the
file may therefore not yet be ready for processing.
If this parameter is not specified, a default value of 5000 (five seconds) will be used. |
Properties
Name | Description | |
---|---|---|
Log |
Gets the log.
|
See Also