oms_buffer_pool_statistic_set()
Abstract
Sets or resets a maintained statistic by the pool.
Syntax
oms_buffer_pool_statistic_set (buffer_pool_handle, statistic_index, statistic_handle_ptr)
| Argument | Type | Description |
|---|---|---|
buffer_pool_handle |
OmsT_Buffer_Pool_Handle |
pool object from which to set statistic |
statistic_index |
OmsT_Buffer_Stat_Index |
which statistic to set |
statistic_handle_ptr |
Stathandle * |
provided statistic |
Return Type
None.
Details
Each pool can automatically maintain a set of statistics. If a statistic is maintained, the pool is provided with an appropriate stat handle. This function is used to specify the stat handle for a maintained statistic or to stop maintaining a statistic (by passing an OPC_NIL Stathandle pointer). For details on which statistics are maintained, see Maintained Statistics.