Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

C#
Visual Basic
Visual C++

Berkeley DB .NET API Documentation
Cursor..::.Priority Property
Cursor Class See Also Send Feedback

The cache priority for pages referenced by the cursor.

Namespace: BerkeleyDB
Assembly: libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.0

# Syntax

C#
    public CachePriority Priority { get; set; }

Visual Basic (Declaration)
    Public Property Priority As CachePriority

Visual C++
    public:
    property CachePriority^ Priority {
    	CachePriority^ get ();
    	void set (CachePriority^ value);
    }

# Remarks

The priority of a page biases the replacement algorithm to be more or less likely to discard a page when space is needed in the buffer pool. The bias is temporary, and pages are eventually discarded if they are not referenced again. The setting is only advisory, and does not guarantee pages are treated in a specific way.

# See Also

Cursor Class
BerkeleyDB Namespace