The mutex alignment, in bytes.

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

Syntax

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

Remarks

It is sometimes advantageous to align mutexes on specific byte boundaries in order to minimize cache line collisions. Alignment specifies an alignment for mutexes allocated by Berkeley DB.

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

See Also