C# Class Hangfire.SqlServer.SqlServerWriteOnlyTransaction

Inheritance: Hangfire.Storage.JobStorageTransaction
Afficher le fichier Open project: sciserver/Hangfire

Méthodes publiques

Méthode Description
AddJobState ( string jobId, IState state ) : void
AddRangeToSet ( string key, IList items ) : void
AddToQueue ( string queue, string jobId ) : void
AddToSet ( string key, string value ) : void
AddToSet ( string key, string value, double score ) : void
Commit ( ) : void
DecrementCounter ( string key ) : void
DecrementCounter ( string key, System.TimeSpan expireIn ) : void
ExpireHash ( string key, System.TimeSpan expireIn ) : void
ExpireJob ( string jobId, System.TimeSpan expireIn ) : void
ExpireList ( string key, System.TimeSpan expireIn ) : void
ExpireSet ( string key, System.TimeSpan expireIn ) : void
IncrementCounter ( string key ) : void
IncrementCounter ( string key, System.TimeSpan expireIn ) : void
InsertToList ( string key, string value ) : void
PersistHash ( string key ) : void
PersistJob ( string jobId ) : void
PersistList ( string key ) : void
PersistSet ( string key ) : void
RemoveFromList ( string key, string value ) : void
RemoveFromSet ( string key, string value ) : void
RemoveHash ( string key ) : void
RemoveSet ( string key ) : void
SetJobState ( string jobId, IState state ) : void
SetRangeInHash ( string key, string>.IEnumerable keyValuePairs ) : void
SqlServerWriteOnlyTransaction ( SqlConnection connection, IsolationLevel isolationLevel, PersistentJobQueueProviderCollection queueProviders ) : System
TrimList ( string key, int keepStartingFrom, int keepEndingAt ) : void

Private Methods

Méthode Description
AcquireHashLock ( ) : void
AcquireListLock ( ) : void
AcquireLock ( string resource ) : void
AcquireSetLock ( ) : void
CreateTransaction ( IsolationLevel isolationLevel ) : TransactionScope
QueueCommand ( Action action ) : void

Method Details

AddJobState() public méthode

public AddJobState ( string jobId, IState state ) : void
jobId string
state IState
Résultat void

AddRangeToSet() public méthode

public AddRangeToSet ( string key, IList items ) : void
key string
items IList
Résultat void

AddToQueue() public méthode

public AddToQueue ( string queue, string jobId ) : void
queue string
jobId string
Résultat void

AddToSet() public méthode

public AddToSet ( string key, string value ) : void
key string
value string
Résultat void

AddToSet() public méthode

public AddToSet ( string key, string value, double score ) : void
key string
value string
score double
Résultat void

Commit() public méthode

public Commit ( ) : void
Résultat void

DecrementCounter() public méthode

public DecrementCounter ( string key ) : void
key string
Résultat void

DecrementCounter() public méthode

public DecrementCounter ( string key, System.TimeSpan expireIn ) : void
key string
expireIn System.TimeSpan
Résultat void

ExpireHash() public méthode

public ExpireHash ( string key, System.TimeSpan expireIn ) : void
key string
expireIn System.TimeSpan
Résultat void

ExpireJob() public méthode

public ExpireJob ( string jobId, System.TimeSpan expireIn ) : void
jobId string
expireIn System.TimeSpan
Résultat void

ExpireList() public méthode

public ExpireList ( string key, System.TimeSpan expireIn ) : void
key string
expireIn System.TimeSpan
Résultat void

ExpireSet() public méthode

public ExpireSet ( string key, System.TimeSpan expireIn ) : void
key string
expireIn System.TimeSpan
Résultat void

IncrementCounter() public méthode

public IncrementCounter ( string key ) : void
key string
Résultat void

IncrementCounter() public méthode

public IncrementCounter ( string key, System.TimeSpan expireIn ) : void
key string
expireIn System.TimeSpan
Résultat void

InsertToList() public méthode

public InsertToList ( string key, string value ) : void
key string
value string
Résultat void

PersistHash() public méthode

public PersistHash ( string key ) : void
key string
Résultat void

PersistJob() public méthode

public PersistJob ( string jobId ) : void
jobId string
Résultat void

PersistList() public méthode

public PersistList ( string key ) : void
key string
Résultat void

PersistSet() public méthode

public PersistSet ( string key ) : void
key string
Résultat void

RemoveFromList() public méthode

public RemoveFromList ( string key, string value ) : void
key string
value string
Résultat void

RemoveFromSet() public méthode

public RemoveFromSet ( string key, string value ) : void
key string
value string
Résultat void

RemoveHash() public méthode

public RemoveHash ( string key ) : void
key string
Résultat void

RemoveSet() public méthode

public RemoveSet ( string key ) : void
key string
Résultat void

SetJobState() public méthode

public SetJobState ( string jobId, IState state ) : void
jobId string
state IState
Résultat void

SetRangeInHash() public méthode

public SetRangeInHash ( string key, string>.IEnumerable keyValuePairs ) : void
key string
keyValuePairs string>.IEnumerable
Résultat void

SqlServerWriteOnlyTransaction() public méthode

public SqlServerWriteOnlyTransaction ( SqlConnection connection, IsolationLevel isolationLevel, PersistentJobQueueProviderCollection queueProviders ) : System
connection System.Data.SqlClient.SqlConnection
isolationLevel IsolationLevel
queueProviders PersistentJobQueueProviderCollection
Résultat System

TrimList() public méthode

public TrimList ( string key, int keepStartingFrom, int keepEndingAt ) : void
key string
keepStartingFrom int
keepEndingAt int
Résultat void