Sets the redundancy level for this pools server-to-client subscriptions.

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

Syntax

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

Parameters

redundancy
Int32

Return Value

a instance of CacheFactory

Remarks

If 0 then no redundant copies will be kept on the servers. Otherwise an effort will be made to maintain the requested number of copies of the server-to-client subscriptions. At most one copy per server will be made up to the requested level.

Exceptions

ExceptionCondition
throws IllegalArgumentException if redundancyLevel is less than -1.

See Also