ICacheable Interface

This interface should be implemented by objects that will be cached by a streaming command. It allows the command to keep track of how much data it has cached.

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


Public Interface ICacheable
public interface ICacheable
public interface class ICacheable
type ICacheable =  interface end
public interface ICacheable

The ICacheable type exposes the following members.


Name Description
Public method GetCachedSize Returns the approximate size in bytes of the object as it will be stored in the cache of the command. The command uses this value to determine how much data it is currently caching to determine when it should start streaming.This value does not have to be an exact size of the object but can be a quick estimate.


See Also


Microsoft.TeamFoundation.Framework.Server Namespace