adaptive_update
Name
adaptive_update
Synopsis
#include "hooks/cluster/adaptive_update.h"
| void **adaptive_update** (
| closure, | |
| | buf, | |
| | buflen)
; | |
void * <var class="pdparam">closure</var>
;
const char * <var class="pdparam">buf</var>
;
int <var class="pdparam">buflen</var>
;
| int **has_cluster_adaptive_update_hook** (
| )
; | |
| void **register_cluster_adaptive_update_hook_first** (
| hook, | |
| | closure)
; | |
ec_hook_cluster_adaptive_update_func_t <var class="pdparam">hook</var>
;
void *<var class="pdparam">closure</var>
;
| void **register_cluster_adaptive_update_hook_last** (
| hook, | |
| | closure)
; | |
ec_hook_cluster_adaptive_update_func_t <var class="pdparam">hook</var>
;
void *<var class="pdparam">closure</var>
;
| void **call_cluster_adaptive_update_hook** (
| buf, | |
| | buflen)
; | |
Description
Adaptive call this hook to inform the cluster that global parameter has been updated. Cluster module should implement this hook to broadcast this event.