C# 클래스 Hangfire.SqlServer.SqlServerWriteOnlyTransaction

상속: Hangfire.Storage.JobStorageTransaction
파일 보기 프로젝트 열기: sciserver/Hangfire

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
AcquireHashLock ( ) : void
AcquireListLock ( ) : void
AcquireLock ( string resource ) : void
AcquireSetLock ( ) : void
CreateTransaction ( IsolationLevel isolationLevel ) : TransactionScope
QueueCommand ( Action action ) : void

메소드 상세

AddJobState() 공개 메소드

public AddJobState ( string jobId, IState state ) : void
jobId string
state IState
리턴 void

AddRangeToSet() 공개 메소드

public AddRangeToSet ( string key, IList items ) : void
key string
items IList
리턴 void

AddToQueue() 공개 메소드

public AddToQueue ( string queue, string jobId ) : void
queue string
jobId string
리턴 void

AddToSet() 공개 메소드

public AddToSet ( string key, string value ) : void
key string
value string
리턴 void

AddToSet() 공개 메소드

public AddToSet ( string key, string value, double score ) : void
key string
value string
score double
리턴 void

Commit() 공개 메소드

public Commit ( ) : void
리턴 void

DecrementCounter() 공개 메소드

public DecrementCounter ( string key ) : void
key string
리턴 void

DecrementCounter() 공개 메소드

public DecrementCounter ( string key, System.TimeSpan expireIn ) : void
key string
expireIn System.TimeSpan
리턴 void

ExpireHash() 공개 메소드

public ExpireHash ( string key, System.TimeSpan expireIn ) : void
key string
expireIn System.TimeSpan
리턴 void

ExpireJob() 공개 메소드

public ExpireJob ( string jobId, System.TimeSpan expireIn ) : void
jobId string
expireIn System.TimeSpan
리턴 void

ExpireList() 공개 메소드

public ExpireList ( string key, System.TimeSpan expireIn ) : void
key string
expireIn System.TimeSpan
리턴 void

ExpireSet() 공개 메소드

public ExpireSet ( string key, System.TimeSpan expireIn ) : void
key string
expireIn System.TimeSpan
리턴 void

IncrementCounter() 공개 메소드

public IncrementCounter ( string key ) : void
key string
리턴 void

IncrementCounter() 공개 메소드

public IncrementCounter ( string key, System.TimeSpan expireIn ) : void
key string
expireIn System.TimeSpan
리턴 void

InsertToList() 공개 메소드

public InsertToList ( string key, string value ) : void
key string
value string
리턴 void

PersistHash() 공개 메소드

public PersistHash ( string key ) : void
key string
리턴 void

PersistJob() 공개 메소드

public PersistJob ( string jobId ) : void
jobId string
리턴 void

PersistList() 공개 메소드

public PersistList ( string key ) : void
key string
리턴 void

PersistSet() 공개 메소드

public PersistSet ( string key ) : void
key string
리턴 void

RemoveFromList() 공개 메소드

public RemoveFromList ( string key, string value ) : void
key string
value string
리턴 void

RemoveFromSet() 공개 메소드

public RemoveFromSet ( string key, string value ) : void
key string
value string
리턴 void

RemoveHash() 공개 메소드

public RemoveHash ( string key ) : void
key string
리턴 void

RemoveSet() 공개 메소드

public RemoveSet ( string key ) : void
key string
리턴 void

SetJobState() 공개 메소드

public SetJobState ( string jobId, IState state ) : void
jobId string
state IState
리턴 void

SetRangeInHash() 공개 메소드

public SetRangeInHash ( string key, string>.IEnumerable keyValuePairs ) : void
key string
keyValuePairs string>.IEnumerable
리턴 void

SqlServerWriteOnlyTransaction() 공개 메소드

public SqlServerWriteOnlyTransaction ( SqlConnection connection, IsolationLevel isolationLevel, PersistentJobQueueProviderCollection queueProviders ) : System
connection System.Data.SqlClient.SqlConnection
isolationLevel IsolationLevel
queueProviders PersistentJobQueueProviderCollection
리턴 System

TrimList() 공개 메소드

public TrimList ( string key, int keepStartingFrom, int keepEndingAt ) : void
key string
keepStartingFrom int
keepEndingAt int
리턴 void