Click or drag to resize

Packflow.Core.Jobs Namespace

Timer jobs infrastructure. Allows to implement, run and persist timer jobs. Jobs are scheduled using an external scheduling engine. Packflow uses Quartz.Net by default, but API was designed to promote scheduler-agnostic design. Future releases will allow interacting with any scheduling engine via custom implementation.
Classes
  ClassDescription
Public classPFActivityMonitoringInitializationJob
This PFJob monitors site activity based on PFUserNavigationEntry density.
Public classPFActivityMonitoringJob
This PFJob monitors site activity based on PFUserNavigationEntry density.
Public classPFExternalConnectionsSynchronizer
This job synchronizes the content of all content-types, respecting their respective frequencies.
Public classPFItemSaverJob
This job saves all items in selected Content Type.
Public classCode examplePFJob
Base Packflow Job class. Implement to define a custom PFJob execution and persistable parameters.
Public classPFJobConcurrencyException
Exception class thrown when a PFJob execution can't start because of concurrent execution locks.
Public classPFJobExecution
This class summarizes a PFJob's execution, with Job metadata and execution log. An instance is generated and persisted each time Execute is called.
Public classPFJobExecutionAnyJobLock
Allows to prevent concurrent execution of a PFJob with any other Job.
Public classPFJobExecutionException
Exception class thrown when a PFJob execution fails.
Public classPFJobExecutionGroupLock
Allows to prevent concurrent execution on Jobs sharing a common group, defined by its name.
Public classPFJobExecutionIgnoreLocks
Allows the decorated Job to ignore all other jobs executions. Always check the execution context before launching such jobs.
Public classPFJobExecutionInfo
Serializer-friendly class representing a PFJobExecution instance;
Public classPFJobExecutionJobTypeLock
Allows to prevent concurrent execution on Jobs with the same .Net type.
Public classPFJobExecutionLock

This attribute allows to define PFJob concurrent execution settings.

Public classPFJobExecutionLogEntry
Represents a serializable log entry created during a PFJob execution.
Public classPFJobExecutionPolicy
This attribute will decorate a PFJob class, defining its runtime execution policy.
Public classPFJobFactory
This class gives information about available PFJob implementations, and may instantiate them in the context of a Packflow site.
Public classPFJobInfo
This class holds serializable information about a PFJob instance
Public classPFJobParameter
This attribute allows decorating public properties on PFJob, turning them into persistant parameters.
Public classPFJobParameterChoice

This attribute allows decorating public collections on PFJob, turning them into choice providers for Job parameters.

Used by Timer Jobs' UI to display a choice list for a chosen job parameter.

Public classPFJobProgressionEventArgs
Represents event data for a Job Progression Event.
Public classPFJobProgressionInfo
Represents information about a Job execution progression.
Public classPFJobScheduler
Base class that serves as an entry point to an external scheduling engine. Its role is to synchronize the scheduling engine with changes made to the persisted PFTimerJob objects.
Note Note
(Default scheduling engine is Quartz.Net, defined in MicaSystems.Packflow.Quartz assembly)
Public classPFJobSchedulerInfo
This class holds minimal information about a job Scheduler (address, status...)
Public classCode examplePFJobSetting
Represents a PFJob persistant setting (or parameter) Used for generic Job setting manipulation by the engine.
Public classCode examplePFJobSettings
Represents the collection of settings available on a PFJob implementation. Used by the engine for generic PFJob manipulation.
Public classPFJobSettingValue
Represents a value for a PFJobSetting Used by the engine for generic PFJob settings manipulation.
Public classPFJobTypeInfo
Represents serializable information about a PFJob implementation type.
Public classPFJobValidationException
Represents an exception thrown from Validate implementations. Intended to be caught by the Job execution engine.
Public classPFTimerJob
This class represents a PFJob implementation persisted in Packflow. It allows to save and schedule PFJobs in packflow.
Delegates
  DelegateDescription
Public delegateExecuteProgressEventHandler
Delegate used to handle Job progression events.
Enumerations
  EnumerationDescription
Public enumerationJobExecutionLockScope

Enumerates the possible scopes for an execution lock on a Job.

'Process' means interlocking occurs within current process, 'Database' sets locks for the whole PFSite.

Public enumerationJobParameterType

Enumerates the types of object a Job Parameter can expose.

Use Packflow for anything inheriting PFBaseObject , SimpleType for structure types, and Serializable for complex serializable objects.

Serializable is not implemented yet.

Public enumerationPFJobSchedulerStatus
Defines basic status information for the scheduling machine, if found.