C# Class withSIX.Core.Infra.Cache.CacheManager

Inheritance: ICacheManager, IInfrastructureService
ファイルを表示 Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
RegisterCache ( IBlobCache cache ) : void
Shutdown ( ) : System.Threading.Tasks.Task
Vacuum ( ) : System.Threading.Tasks.Task
VacuumIfNeeded ( System.TimeSpan timeAgo ) : System.Threading.Tasks.Task

Private Methods

Method Description
Vacuum ( IBlobCache x ) : System.Threading.Tasks.Task
VacuumIfNeeded ( IBlobCache x, System.TimeSpan timeAgo ) : System.Threading.Tasks.Task

Method Details

RegisterCache() public method

public RegisterCache ( IBlobCache cache ) : void
cache IBlobCache
return void

Shutdown() public method

public Shutdown ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Vacuum() public method

public Vacuum ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

VacuumIfNeeded() public method

public VacuumIfNeeded ( System.TimeSpan timeAgo ) : System.Threading.Tasks.Task
timeAgo System.TimeSpan
return System.Threading.Tasks.Task