LastShardDetector
public
final
class
LastShardDetector
extends Object
implements
ITestInvocationListener
| java.lang.Object | |
| ↳ | com.android.tradefed.invoker.shard.LastShardDetector |
Quando eseguiamo lo sharding locale, a volte vogliamo eseguire alcune azioni solo quando l'ultimo frammento
raggiunge invocationEnded(long). Questo indicatore consente di rilevarlo.
Vedi anche:
Riepilogo
Costruttori pubblici | |
|---|---|
LastShardDetector()
|
|
Metodi pubblici | |
|---|---|
void
|
invocationEnded(long elapsedTime)
|
boolean
|
isLastShardDone()
Restituisce True se l'ultimo shard ha chiamato |
Costruttori pubblici
LastShardDetector
public LastShardDetector ()
Metodi pubblici
invocationEnded
public void invocationEnded (long elapsedTime)
| Parametri | |
|---|---|
elapsedTime |
long |
isLastShardDone
public boolean isLastShardDone ()
Restituisce True se l'ultimo shard ha chiamato invocationEnded(long).
| Ritorni | |
|---|---|
boolean |
|