PoolFactorySetSocketBufferSize Method |
Sets the socket buffer size for each connection made in this pool.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic PoolFactory SetSocketBufferSize(
int bufferSize
)
Public Function SetSocketBufferSize (
bufferSize As Integer
) As PoolFactory
public:
PoolFactory^ SetSocketBufferSize(
int bufferSize
)
member SetSocketBufferSize :
bufferSize : int -> PoolFactory
Parameters
- bufferSize
- Type: SystemInt32
Return Value
Type:
PoolFactory
ExceptionsException | Condition |
---|
|
throws IllegalArgumentException if bufferSize
is less than or equal to 0.
|
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.
See Also