The total number of mutexes to allocate.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet52 (in libdb_dotnet52.dll) Version: 5.2.28.0

Syntax

C#
public uint MaxMutexes { get; set; }
Visual Basic (Declaration)
Public Property MaxMutexes As UInteger
Visual C++
public:
property unsigned int MaxMutexes {
	unsigned int get ();
	void set (unsigned int value);
}

Remarks

Berkeley DB allocates a default number of mutexes based on the initial configuration of the database environment. That default calculation may be too small if the application has an unusual need for mutexes (for example, if the application opens an unexpectedly large number of databases) or too large (if the application is trying to minimize its memory footprint). MaxMutexes is used to specify an absolute number of mutexes to allocate.

If both Increment and MaxMutexes are set, the value of Increment will be silently ignored.

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

See Also