InstanceIdGenerator that will use a SystemProperty to configure the scheduler.
If no value set for the property, a SchedulerException is thrown.
Alex Snaps
Inheritance Hierarchy
Quartz.SimplSystemPropertyInstanceIdGenerator
Namespace: Quartz.Simpl
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
public class SystemPropertyInstanceIdGenerator : IInstanceIdGenerator
The SystemPropertyInstanceIdGenerator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SystemPropertyInstanceIdGenerator | Initializes a new instance of the SystemPropertyInstanceIdGenerator class |
Properties
Name | Description | |
---|---|---|
Postpend |
A string of text to postpend (add to the end) to the instanceId found in the system property.
| |
Prepend |
A string of text to prepend (add to the beginning) to the instanceId found in the system property.
| |
SystemPropertyName |
The name of the system property from which to obtain the instanceId.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GenerateInstanceId |
Returns the cluster wide value for this scheduler instance's id, based on a system property.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
SystemProperty |
System property to read the instanceId from.
|
See Also