LastShardDetector
public
final
class
LastShardDetector
extends Object
implements
ITestInvocationListener
java.lang.Object | |
↳ | com.android.tradefed.invoker.shard.LastShardDetector |
Podczas korzystania z poddzielenia lokalnego czasami chcemy wykonać pewne działania dopiero wtedy, gdy ostatni fragment osiągnie wartość invocationEnded(long)
. Ten raport umożliwia wykrycie takich treści.
Zobacz też:
Podsumowanie
Konstruktory publiczne | |
---|---|
LastShardDetector()
|
Metody publiczne | |
---|---|
void
|
invocationEnded(long elapsedTime)
|
boolean
|
isLastShardDone()
Zwraca wartość Prawda, jeśli ostatni fragment wywołał funkcję |
Konstruktory publiczne
LastShardDetector
public LastShardDetector ()
Metody publiczne
invocationEnded
public void invocationEnded (long elapsedTime)
Parametry | |
---|---|
elapsedTime |
long |
isLastShardDone
public boolean isLastShardDone ()
Zwraca wartość Prawda, jeśli ostatni fragment wywołał funkcję invocationEnded(long)
.
Zwroty | |
---|---|
boolean |