C# 클래스 Hangfire.SQLite.SQLiteConnection

상속: Hangfire.Storage.JobStorageConnection
파일 보기 프로젝트 열기: vip32/Hangfire.SQLite

공개 메소드들

메소드 설명
AcquireDistributedLock ( string resource, System.TimeSpan timeout ) : IDisposable
AnnounceServer ( string serverId, Hangfire.Server.ServerContext context ) : void
CreateExpiredJob ( Hangfire.Common.Job job, string>.IDictionary parameters, System.DateTime createdAt, System.TimeSpan expireIn ) : string
CreateWriteTransaction ( ) : IWriteOnlyTransaction
Dispose ( ) : void
FetchNextJob ( string queues, CancellationToken cancellationToken ) : IFetchedJob
GetAllEntriesFromHash ( string key ) : string>.Dictionary
GetAllItemsFromList ( string key ) : List
GetAllItemsFromSet ( string key ) : HashSet
GetCounter ( string key ) : long
GetFirstByLowestScoreFromSet ( string key, double fromScore, double toScore ) : string
GetHashCount ( string key ) : long
GetHashTtl ( string key ) : System.TimeSpan
GetJobData ( string id ) : Hangfire.Storage.JobData
GetJobParameter ( string jobId, string name ) : string
GetListCount ( string key ) : long
GetListTtl ( string key ) : System.TimeSpan
GetRangeFromList ( string key, int startingFrom, int endingAt ) : List
GetRangeFromSet ( string key, int startingFrom, int endingAt ) : List
GetSetCount ( string key ) : long
GetSetTtl ( string key ) : System.TimeSpan
GetStateData ( string jobId ) : Hangfire.Storage.StateData
GetValueFromHash ( string key, string name ) : string
Heartbeat ( string serverId ) : void
RemoveServer ( string serverId ) : void
RemoveTimedOutServers ( System.TimeSpan timeOut ) : int
SQLiteConnection ( IDbConnection connection, System.Transactions.IsolationLevel isolationLevel, PersistentJobQueueProviderCollection queueProviders ) : System
SQLiteConnection ( IDbConnection connection, System.Transactions.IsolationLevel isolationLevel, PersistentJobQueueProviderCollection queueProviders, bool ownsConnection ) : System
SetJobParameter ( string jobId, string name, string value ) : void
SetRangeInHash ( string key, string>.IEnumerable keyValuePairs ) : void

메소드 상세

AcquireDistributedLock() 공개 메소드

public AcquireDistributedLock ( string resource, System.TimeSpan timeout ) : IDisposable
resource string
timeout System.TimeSpan
리턴 IDisposable

AnnounceServer() 공개 메소드

public AnnounceServer ( string serverId, Hangfire.Server.ServerContext context ) : void
serverId string
context Hangfire.Server.ServerContext
리턴 void

CreateExpiredJob() 공개 메소드

public CreateExpiredJob ( Hangfire.Common.Job job, string>.IDictionary parameters, System.DateTime createdAt, System.TimeSpan expireIn ) : string
job Hangfire.Common.Job
parameters string>.IDictionary
createdAt System.DateTime
expireIn System.TimeSpan
리턴 string

CreateWriteTransaction() 공개 메소드

public CreateWriteTransaction ( ) : IWriteOnlyTransaction
리턴 IWriteOnlyTransaction

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FetchNextJob() 공개 메소드

public FetchNextJob ( string queues, CancellationToken cancellationToken ) : IFetchedJob
queues string
cancellationToken System.Threading.CancellationToken
리턴 IFetchedJob

GetAllEntriesFromHash() 공개 메소드

public GetAllEntriesFromHash ( string key ) : string>.Dictionary
key string
리턴 string>.Dictionary

GetAllItemsFromList() 공개 메소드

public GetAllItemsFromList ( string key ) : List
key string
리턴 List

GetAllItemsFromSet() 공개 메소드

public GetAllItemsFromSet ( string key ) : HashSet
key string
리턴 HashSet

GetCounter() 공개 메소드

public GetCounter ( string key ) : long
key string
리턴 long

GetFirstByLowestScoreFromSet() 공개 메소드

public GetFirstByLowestScoreFromSet ( string key, double fromScore, double toScore ) : string
key string
fromScore double
toScore double
리턴 string

GetHashCount() 공개 메소드

public GetHashCount ( string key ) : long
key string
리턴 long

GetHashTtl() 공개 메소드

public GetHashTtl ( string key ) : System.TimeSpan
key string
리턴 System.TimeSpan

GetJobData() 공개 메소드

public GetJobData ( string id ) : Hangfire.Storage.JobData
id string
리턴 Hangfire.Storage.JobData

GetJobParameter() 공개 메소드

public GetJobParameter ( string jobId, string name ) : string
jobId string
name string
리턴 string

GetListCount() 공개 메소드

public GetListCount ( string key ) : long
key string
리턴 long

GetListTtl() 공개 메소드

public GetListTtl ( string key ) : System.TimeSpan
key string
리턴 System.TimeSpan

GetRangeFromList() 공개 메소드

public GetRangeFromList ( string key, int startingFrom, int endingAt ) : List
key string
startingFrom int
endingAt int
리턴 List

GetRangeFromSet() 공개 메소드

public GetRangeFromSet ( string key, int startingFrom, int endingAt ) : List
key string
startingFrom int
endingAt int
리턴 List

GetSetCount() 공개 메소드

public GetSetCount ( string key ) : long
key string
리턴 long

GetSetTtl() 공개 메소드

public GetSetTtl ( string key ) : System.TimeSpan
key string
리턴 System.TimeSpan

GetStateData() 공개 메소드

public GetStateData ( string jobId ) : Hangfire.Storage.StateData
jobId string
리턴 Hangfire.Storage.StateData

GetValueFromHash() 공개 메소드

public GetValueFromHash ( string key, string name ) : string
key string
name string
리턴 string

Heartbeat() 공개 메소드

public Heartbeat ( string serverId ) : void
serverId string
리턴 void

RemoveServer() 공개 메소드

public RemoveServer ( string serverId ) : void
serverId string
리턴 void

RemoveTimedOutServers() 공개 메소드

public RemoveTimedOutServers ( System.TimeSpan timeOut ) : int
timeOut System.TimeSpan
리턴 int

SQLiteConnection() 공개 메소드

public SQLiteConnection ( IDbConnection connection, System.Transactions.IsolationLevel isolationLevel, PersistentJobQueueProviderCollection queueProviders ) : System
connection IDbConnection
isolationLevel System.Transactions.IsolationLevel
queueProviders PersistentJobQueueProviderCollection
리턴 System

SQLiteConnection() 공개 메소드

public SQLiteConnection ( IDbConnection connection, System.Transactions.IsolationLevel isolationLevel, PersistentJobQueueProviderCollection queueProviders, bool ownsConnection ) : System
connection IDbConnection
isolationLevel System.Transactions.IsolationLevel
queueProviders PersistentJobQueueProviderCollection
ownsConnection bool
리턴 System

SetJobParameter() 공개 메소드

public SetJobParameter ( string jobId, string name, string value ) : void
jobId string
name string
value string
리턴 void

SetRangeInHash() 공개 메소드

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