Returns the distribution policy that is set for the space.
Declaration
tibas_status tibasSpaceDef_GetDistributionPolicy
(tibasSpaceDef spaceDef,
tibas_distributionPolicy* distributedPolicy)
Parameters
Parameter |
Description |
spaceDef |
The TIBCO ActiveSpaces entity on which the function is invoked. |
distributedPolicy |
The distribution policy. |
Remarks
Use the tibasSpaceDef_GetDistributionPolicy() function to specify the distribution policy attribute of the spaceDef for a space.
The distribution policy can be one of the following:
- TIBAS_DISTRIBUTED
- (Default setting) management of the space entries is shared among the seeders that have joined the space.
- TIBAS_NON_DISTRIBUTED
- A single seeder is responsible for all tuples in the space.
Note: Although in a nondistributed space, one seeder is responsible for the tuples, other seeders joined to the space may also replicate the tuples if a degree of replication is specified
Copyright © Cloud Software Group, Inc. All rights reserved.