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.5.0.1
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
| Exception | Condition |
|---|---|
| GemStone.GemFire.Cache..::IllegalArgumentException | if initialCapacity is nonpositive |
See Also
AttributesFactory Class
GemStone.GemFire.Cache Namespace