Table of Contents

Interface IFunctionDataCache

Namespace
Microsoft.Azure.WebJobs
Assembly
Microsoft.Azure.WebJobs.Host.dll
public interface IFunctionDataCache : IDisposable
Inherited Members

Properties

IsEnabled

bool IsEnabled { get; }

Property Value

bool

Methods

DecrementActiveReference(FunctionDataCacheKey)

void DecrementActiveReference(FunctionDataCacheKey cacheKey)

Parameters

cacheKey FunctionDataCacheKey

TryGet(FunctionDataCacheKey, bool, out SharedMemoryMetadata)

bool TryGet(FunctionDataCacheKey cacheKey, bool isIncrementActiveReference, out SharedMemoryMetadata sharedMemoryMeta)

Parameters

cacheKey FunctionDataCacheKey
isIncrementActiveReference bool
sharedMemoryMeta SharedMemoryMetadata

Returns

bool

TryPut(FunctionDataCacheKey, SharedMemoryMetadata, bool, bool)

bool TryPut(FunctionDataCacheKey cacheKey, SharedMemoryMetadata sharedMemoryMeta, bool isIncrementActiveReference, bool isDeleteOnFailure)

Parameters

cacheKey FunctionDataCacheKey
sharedMemoryMeta SharedMemoryMetadata
isIncrementActiveReference bool
isDeleteOnFailure bool

Returns

bool

TryRemove(FunctionDataCacheKey)

bool TryRemove(FunctionDataCacheKey cacheKey)

Parameters

cacheKey FunctionDataCacheKey

Returns

bool