Class BuildCache
Default implementation of the Build Cache
Inheritance
System.Object
BuildCache
Syntax
public class BuildCache : IBuildCache, IDisposable
Constructors
BuildCache()
Declaration
BuildCache(String, Int32)
Declaration
public BuildCache(string host, int port = 8126)
Parameters
Type |
Name |
Description |
System.String |
host |
|
System.Int32 |
port |
|
Methods
Dispose()
Declaration
GetCachedArtifactsDirectory(CacheEntry)
Declaration
public string GetCachedArtifactsDirectory(CacheEntry entry)
Parameters
Returns
Type |
Description |
System.String |
|
GetCachedInfoFile(CacheEntry)
Declaration
public string GetCachedInfoFile(CacheEntry entry)
Parameters
Returns
Type |
Description |
System.String |
|
GetCacheEntry(GUID)
Declaration
public CacheEntry GetCacheEntry(GUID asset)
Parameters
Type |
Name |
Description |
GUID |
asset |
|
Returns
GetCacheEntry(ObjectIdentifier)
Declaration
public CacheEntry GetCacheEntry(ObjectIdentifier objectID)
Parameters
Type |
Name |
Description |
ObjectIdentifier |
objectID |
|
Returns
GetCacheEntry(String)
Declaration
public CacheEntry GetCacheEntry(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
LoadCachedData(IList<CacheEntry>, out IList<CachedInfo>)
Declaration
public void LoadCachedData(IList<CacheEntry> entries, out IList<CachedInfo> cachedInfos)
Parameters
NeedsRebuild(CachedInfo)
Declaration
public bool NeedsRebuild(CachedInfo info)
Parameters
Returns
Type |
Description |
System.Boolean |
|
PurgeCache()
Declaration
public static void PurgeCache()
SaveCachedData(IList<CachedInfo>)
Declaration
public void SaveCachedData(IList<CachedInfo> infos)
Parameters