LastShardDetector
public final class LastShardDetector
extends Object
implements ITestInvocationListener
java.lang.Object | |
↳ | com.android.tradefed.invoker.shard.LastShardDetector |
Al ejecutar la fragmentación local, a veces solo queremos ejecutar algunas acciones cuando la última partición alcanza invocationEnded(long)
. Este reportero permite detectarlo.
Ver también:
Resumen
Constructores públicos | |
---|---|
LastShardDetector () |
Métodos públicos | |
---|---|
void | invocationEnded (long elapsedTime) |
boolean | isLastShardDone () Devuelve True si el último fragmento ha llamado |
Constructores públicos
LastShardDetector
public LastShardDetector ()
Métodos públicos
invocationEnded
public void invocationEnded (long elapsedTime)
Parámetros | |
---|---|
elapsedTime | long |
isLastShardDone
public boolean isLastShardDone ()
Devuelve True si el último fragmento ha llamado invocationEnded(long)
.
Devoluciones | |
---|---|
boolean |