Edit

Share via


TokenCacheContext class

This class instance helps track the memory changes facilitating decisions to read from and write to the persistent cache

Constructors

TokenCacheContext(ISerializableTokenCache, boolean)

Properties

cache

serializable token cache interface

cacheHasChanged

boolean which indicates the changes in cache

hasChanged

boolean indicating cache change

tokenCache

function to retrieve the token cache

Constructor Details

TokenCacheContext(ISerializableTokenCache, boolean)

new TokenCacheContext(tokenCache: ISerializableTokenCache, hasChanged: boolean)

Parameters

hasChanged

boolean

Property Details

cache

serializable token cache interface

cache: ISerializableTokenCache

Property Value

cacheHasChanged

boolean which indicates the changes in cache

boolean cacheHasChanged

Property Value

boolean

hasChanged

boolean indicating cache change

hasChanged: boolean

Property Value

boolean

tokenCache

function to retrieve the token cache

ISerializableTokenCache tokenCache

Property Value