Sets the socket buffer size for each connection made in this pool.

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

Syntax

C#
public CacheFactory SetSocketBufferSize(
	int bufferSize
)
Visual Basic (Declaration)
Public Function SetSocketBufferSize ( _
	bufferSize As Integer _
) As CacheFactory
Visual C++
public:
CacheFactory^ SetSocketBufferSize (
	int bufferSize
)

Parameters

bufferSize
Int32

Return Value

a instance of CacheFactory

Remarks

Large messages can be received and sent faster when this buffer is larger. Larger buffers also optimize the rate at which servers can send events for client subscriptions.

Exceptions

ExceptionCondition
throws IllegalArgumentException if bufferSize is less than or equal to 0.

See Also