PoolFactorySetSubscriptionRedundancy Method |
Sets the redundancy level for this pools server-to-client subscriptions.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic PoolFactory SetSubscriptionRedundancy(
int redundancy
)
Public Function SetSubscriptionRedundancy (
redundancy As Integer
) As PoolFactory
public:
PoolFactory^ SetSubscriptionRedundancy(
int redundancy
)
member SetSubscriptionRedundancy :
redundancy : int -> PoolFactory
Parameters
- redundancy
- Type: SystemInt32
Return Value
Type:
PoolFactory
ExceptionsException | Condition |
---|
|
throws IllegalArgumentException if redundancyLevel is less than -1.
|
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.
See Also