|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CollectListener
This interface is dedicated to monitoring the progress of test results/data collection. The client contract is the following:
Method Summary | |
---|---|
void |
bladeCollectStart(java.lang.String bladeId,
long size)
Called before collecting test results from a blade. |
void |
collectStart(java.lang.String testId,
long size)
Called at the collect beginning. |
void |
done()
Called when the full collect is complete. |
boolean |
isCanceled()
Called an arbitrarily number of times at arbitrary moments during a collect to ensure the collect must go on or be canceled. |
boolean |
isCanceled(java.lang.String bladeId)
Called an arbitrarily number of times at arbitrary moments during a collect to ensure the collect must go on or be canceled for the given blade. |
void |
progress(java.lang.String bladeId,
long done)
Called an arbitrary number of times when collecting test results from a blade to give current progress |
Method Detail |
---|
void collectStart(java.lang.String testId, long size)
testId
- the identifier of the test to be collectedsize
- the total number of bytes to be collectedvoid bladeCollectStart(java.lang.String bladeId, long size)
bladeId
- the identifier of the blade about to be collectedsize
- the total number of bytes to collect from the given bladevoid progress(java.lang.String bladeId, long done)
bladeId
- the identifier of the blade test results are being collected fromdone
- number of bytes already collected (cannot decrease, nor be
greater then the size given in the preliminary bladeCollectStart call)void done()
boolean isCanceled()
boolean isCanceled(java.lang.String bladeId)
bladeId
- the identifier of the considered blade
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |