LocalCacheTable TKey  GetOrPut Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Namespace: NFX.ApplicationModel.Pile
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public Object GetOrPut(
	TKey key,
	Func<ICacheTable<TKey>, TKey, Object, Object> valueFactory,
	Object factoryContext,
	out Nullable<PutResult> putNewResult,
	int ageSec = 0,
	int putMaxAgeSec = 0,
	int putPriority = 0,
	Nullable<DateTime> putAbsoluteExpirationUTC = null
)

Parameters

key
Type: TKey
valueFactory
Type: OnlineSystem Func ICacheTable TKey , TKey, OnlineObject, OnlineObject 
factoryContext
Type: OnlineSystem Object
putNewResult
Type: OnlineSystem Nullable PutResult  
ageSec (Optional)
Type: OnlineSystem Int32
putMaxAgeSec (Optional)
Type: OnlineSystem Int32
putPriority (Optional)
Type: OnlineSystem Int32
putAbsoluteExpirationUTC (Optional)
Type: OnlineSystem Nullable OnlineDateTime 

Return Value

Type: OnlineObject

Implements

ICacheTable TKey  GetOrPut(TKey, Func ICacheTable TKey , TKey, Object, Object , Object, Nullable PutResult  , Int32, Int32, Int32, Nullable DateTime )
See Also