CollectorHelper

public class CollectorHelper
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.metric.CollectorHelper


Helper to do some IMetricCollector operations needed in several places.

Summary

Public constructors

CollectorHelper()

Public methods

static cloneCollectors( originalCollectors)

Helper to clone IMetricCollectors in order for each IRemoteTest to get a different instance, and avoid internal state and multi-init issues.

Public constructors

CollectorHelper

public CollectorHelper ()

Public methods

cloneCollectors

public static  cloneCollectors ( originalCollectors)

Helper to clone IMetricCollectors in order for each IRemoteTest to get a different instance, and avoid internal state and multi-init issues.

Parameters
originalCollectors : the list of original collectors to be cloned.

Returns
The list of cloned IMetricCollector.