ObjectCacheFactoryClearAll Method

Empties a specific or all caches in the static context. If no typeName is supplied all caches will be cleared.

Definition

Namespace: Scanjour.Workflow4.Base.Cache
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public static long ClearAll(
	string typeName
)

Parameters

typeName  String
The object type of the cache that should be cleared. If empty all caches will be cleared

Return Value

Int64
Sum of bytes from objects that is removed from cache

See Also