tibasSpaceDef_GetCapacity()

Gets the capacity (in number of tuples per seeder) for a specified space.

Declaration

tibas_status tibasSpaceDef_GetCapacity(
    tibasSpaceDef spaceDef,
    tibas_long*   capacity)

Parameters

Parameter Description
spaceDef The TIBCO ActiveSpaces entity on which the function is invoked.
capacity The capacity (in tuples per seeder) of the specified space.

Remarks

Use the tibasSpaceDef_GetCapacity() function to get the capacity that is set for a specified space.

The capacity attribute that is set in the spaceDef object used to join the space to the metaspace determines how much memory is used by the seeders that are managing the space. The default capacity setting is -1 (indicates there can be an infinite number of tuples per seeder).

For more information on how capacity works, see: