CurrentOperation Property

The operation currently being performed by the cache.

Syntax

public int CurrentOperation { get; }
Public ReadOnly Property CurrentOperation As Integer

Default Value

0

Remarks

This property reflects the operation currently being performed by the cache. It will be one of the following values:

CACHE_OP_IDLE0The cache is idle.

CACHE_OP_CLEANUP2Cache cleanup is being performed.

CACHE_OP_COMPACT3The cache's storage file is being compacted.

CACHE_OP_READ4The cache is reading some file's data.

CACHE_OP_WRITE5The cache is writing some file's data.

Properties related to cache statistics are refreshed periodically based on the interval specified by the StatsRefreshInterval property. Applications that need fresher data can either decrease the update refresh, or call the RefreshStatistics method to force an immediate refresh.

Note: This property only returns a valid value when Active is true.

This property is read-only and not available at design time.

 
 
Copyright (c) 2020 Callback Technologies, Inc. - All rights reserved.
CBFS Cache 2020 .NET Edition - Version 20.0 [Build 7647]