Skip to main content

Name

update_trans_metrics

Synopsis

#include "hooks/cluster/update_trans_metrics.h"

| void **update_trans_metrics** ( | closure, |   | |   | msg); |   |

void * <var class="pdparam">closure</var>; const ec_cluster_metrics * <var class="pdparam">msg</var>;

| int **has_cluster_update_trans_metrics_hook** ( | ); |   |

| void **register_cluster_update_trans_metrics_hook_first** ( | hook, |   | |   | closure); |   |

ec_hook_cluster_update_trans_metrics_func_t <var class="pdparam">hook</var>; void *<var class="pdparam">closure</var>;

| void **register_cluster_update_trans_metrics_hook_last** ( | hook, |   | |   | closure); |   |

ec_hook_cluster_update_trans_metrics_func_t <var class="pdparam">hook</var>; void *<var class="pdparam">closure</var>;

| void **call_cluster_update_trans_metrics_hook** ( | msg); |   |

const ec_cluster_metrics * <var class="pdparam">msg</var>;

Description

Register this hook to be called whenever a trans metrics update comes over the cluster.

Was this page helpful?