Sets the entry initial capacity for the RegionAttributes being created. This value is used in initializing the map that holds the entries.

Namespace: GemStone.GemFire.Cache
Assembly:  GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 2.7.0.0

Syntax

C#
public void SetInitialCapacity(
	int initialCapacity
)
Visual Basic (Declaration)
Public Sub SetInitialCapacity ( _
	initialCapacity As Integer _
)
Visual C++
public:
void SetInitialCapacity (
	int initialCapacity
)

Parameters

initialCapacity
Int32
the initial capacity of the entry map

Exceptions

ExceptionCondition
GemStone.GemFire.Cache..::IllegalArgumentException if initialCapacity is nonpositive

See Also