C# Class CClash.DirectCompilerCache

Inheritance: CompilerCacheBase, ICompilerCache
Show file Open project: artillery/cclash Class Usage Examples

Public Methods

Method Description
CheckCache ( ICompiler comp, IEnumerable args, DataHash commonkey, CacheManifest &manifest ) : bool

When this returns, we will hold the output cache mutex.

DirectCompilerCache ( string cacheFolder ) : System
Finished ( ) : void
Setup ( ) : void

Protected Methods

Method Description
Compile ( ICompiler comp, IEnumerable args, string stderrfile, string stdoutfile, List includes ) : int
DoCacheMiss ( ICompiler c, DataHash hc, IEnumerable args, CacheManifest m, List ifiles ) : void
OnCacheMissLocked ( ICompiler comp, DataHash hc, IEnumerable args, CacheManifest m ) : int
SaveOutputsLocked ( CacheManifest m, ICompiler c ) : void

Method Details

CheckCache() public method

When this returns, we will hold the output cache mutex.
public CheckCache ( ICompiler comp, IEnumerable args, DataHash commonkey, CacheManifest &manifest ) : bool
comp ICompiler
args IEnumerable
commonkey DataHash
manifest CacheManifest
return bool

Compile() protected method

protected Compile ( ICompiler comp, IEnumerable args, string stderrfile, string stdoutfile, List includes ) : int
comp ICompiler
args IEnumerable
stderrfile string
stdoutfile string
includes List
return int

DirectCompilerCache() public method

public DirectCompilerCache ( string cacheFolder ) : System
cacheFolder string
return System

DoCacheMiss() protected method

protected DoCacheMiss ( ICompiler c, DataHash hc, IEnumerable args, CacheManifest m, List ifiles ) : void
c ICompiler
hc DataHash
args IEnumerable
m CacheManifest
ifiles List
return void

Finished() public method

public Finished ( ) : void
return void

OnCacheMissLocked() protected method

protected OnCacheMissLocked ( ICompiler comp, DataHash hc, IEnumerable args, CacheManifest m ) : int
comp ICompiler
hc DataHash
args IEnumerable
m CacheManifest
return int

SaveOutputsLocked() protected method

protected SaveOutputsLocked ( CacheManifest m, ICompiler c ) : void
m CacheManifest
c ICompiler
return void

Setup() public method

public Setup ( ) : void
return void