[−][src]Function rust_hdfs::hdfsGetHedgedReadMetrics
pub unsafe extern "C" fn hdfsGetHedgedReadMetrics(
fs: hdfsFS,
metrics: *mut *mut hdfsHedgedReadMetrics
) -> c_int
Get cluster wide hedged read metrics.
@param fs The configured filesystem handle @param metrics (out parameter) on a successful return, the hedged read metrics. Unchanged otherwise. You must free the returned statistics with hdfsFreeHedgedReadMetrics. @return 0 if the metrics were successfully returned, -1 otherwise. On a failure, please check errno against ENOTSUP. webhdfs, LocalFilesystem, and so forth may not support hedged read metrics.