This documentation is archived and is not being maintained.

TeamFoundationFileCacheService Class

Visual Studio 2013

System.Object
  Microsoft.TeamFoundation.Server.Core.TeamFoundationFileCacheService

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

'Declaration
<TeamFoundationServiceDependency(GetType(FileCacheService))> _
Public Class TeamFoundationFileCacheService _
	Implements ITeamFoundationService

The TeamFoundationFileCacheService type exposes the following members.

  NameDescription
Public propertyConfiguration
Public propertyIsGitCacheEnabledTrue if Caching is enabled
Public propertyIsVCCacheEnabledTrue if Caching is enabled
Public propertyStatisticsProxy Statistics information
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRetrieveFileRetrieve a file from the cache and send it to the client. If the file is not in cache, get it from the database and also populate the cache.
Public methodRetrieveFileFromCacheRetrieve a file from the cache and send it to client.
Public methodRetrieveFileFromDatabaseRetrieve a file from database, save it in the cache and send it to client.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodUpdateCacheSizeThis called to update the size of a servers cache. It can be called with both positive or negative numbers appropriately.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: