C# Class Wolfje.Plugins.SEconomy.Journal.JournalTransactionCache

Inheritance: IDisposable
Show file Open project: tylerjwatson/SEconomy

Protected Properties

Property Type Description
UncommittedFundTimer System.Timers.Timer

Public Methods

Method Description
AddCachedTransaction ( CachedTransaction Fund ) : void

Adds a fund to the uncommitted cache

Dispose ( ) : void
JournalTransactionCache ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void
ProcessQueueAsync ( ) : Task

Processes all elements in the queue and transfers them

UncommittedFundTimer_Elapsed ( object sender, System e ) : void

Occurs when the cached payments timer needs to commit all the uncommitted transactions

Method Details

AddCachedTransaction() public method

Adds a fund to the uncommitted cache
public AddCachedTransaction ( CachedTransaction Fund ) : void
Fund CachedTransaction
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

JournalTransactionCache() public method

public JournalTransactionCache ( ) : System
return System

ProcessQueueAsync() protected method

Processes all elements in the queue and transfers them
protected ProcessQueueAsync ( ) : Task
return Task

UncommittedFundTimer_Elapsed() protected method

Occurs when the cached payments timer needs to commit all the uncommitted transactions
protected UncommittedFundTimer_Elapsed ( object sender, System e ) : void
sender object
e System
return void

Property Details

UncommittedFundTimer protected property

protected System.Timers.Timer UncommittedFundTimer
return System.Timers.Timer