IShardHelper

public interface IShardHelper

com.android.tradefed.invoker.shard.IShardHelper


Interface of an object that describes the sharding strategy to adopt for a configuration.

Summary

Public methods

abstract boolean shardConfig(IConfiguration config, IInvocationContext context, IRescheduler rescheduler)

Shard and reschedule the shard if possible.

Public methods

shardConfig

public abstract boolean shardConfig (IConfiguration config, 
                IInvocationContext context, 
                IRescheduler rescheduler)

Shard and reschedule the shard if possible.

Parameters
config IConfiguration: a IConfiguration to be run.

context IInvocationContext: the IInvocationContext of the current invocation.

rescheduler IRescheduler: the IRescheduler where to reschedule the shards.

Returns
boolean True if the configuration was sharded. false otherwise.