<xml></xml>

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

Berkeley DB .NET API Documentation
LockingConfig..::.MaxLockers Property
LockingConfig Class See Also Send Feedback

The maximum number of simultaneous locking entities supported by the Berkeley DB environment

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

# Syntax

C#

    public uint MaxLockers { get; set; }

Visual Basic (Declaration)

    Public Property MaxLockers As UInteger

Visual C++

    public:
    property unsigned int MaxLockers {
    	unsigned int get ();
    	void set (unsigned int value);
    }

# Remarks

This value is used by Open(String, DatabaseEnvironmentConfig) to estimate how much space to allocate for various lock-table data structures. The default value is 1000 lockers. For specific information on configuring the size of the lock subsystem, see Configuring locking: sizing the system in the Programmer's Reference Guide.

If the database environment already exists when Open(String, DatabaseEnvironmentConfig) is called, the value of MaxLockers is ignored.

# See Also

LockingConfig Class
BerkeleyDB Namespace