Export (0) Print
Expand All

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

The ICacheable type exposes the following members.

Public methodGetCachedSizeReturns 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.
© 2014 Microsoft