get_stats


Description:

public DomainDiskStats get_stats () throws Error

This function returns network disk stats.

Individual fields within the stats structure may be returned as -1, which indicates that the hypervisor does not support that particular statistic.

Parameters:

this

the domain disk

Returns:

the stats or null in case of error.The returned object should be unreffed with unref when no longer needed.