DBSemaphore Class

Quartz.NET 3.0 API Documentation
Base class for database based lock handlers for providing thread/resource locking in order to protect resources from being altered by multiple threads at the same time.
Inheritance Hierarchy

SystemObject
  Quartz.Impl.AdoJobStoreAdoConstants
    Quartz.Impl.AdoJobStoreStdAdoConstants
      Quartz.Impl.AdoJobStoreDBSemaphore
        Quartz.Impl.AdoJobStoreStdRowLockSemaphore
        Quartz.Impl.AdoJobStoreUpdateLockRowSemaphore

Namespace:  Quartz.Impl.AdoJobStore
Assembly:  Quartz (in Quartz.dll) Version: 3.0.0
Syntax

C#
public abstract class DBSemaphore : StdAdoConstants, 
	ISemaphore, ITablePrefixAware

The DBSemaphore type exposes the following members.

Constructors

  NameDescription
Protected methodDBSemaphore
Initializes a new instance of the DBSemaphore class.
Top
Properties

  NameDescription
Protected propertyAdoUtil
Protected propertyInsertSQL
Public propertyRequiresConnection
This Semaphore implementation does use the database.
Public propertySchedName
Protected propertySchedulerNameLiteral
Protected propertySQL
Public propertyTablePrefix
Gets or sets the table prefix.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodExecuteSQL
Execute the SQL that will lock the proper database row.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodObtainLock
Grants a lock on the identified resource to the calling thread (blocking until it is available).
Public methodReleaseLock
Release the lock on the identified resource if it is held by the calling thread.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference