Related questions
Question 167 - H14-231_V1.0 discussion
A developer needs to cancel a task, but part of the code segment he wrote was deleted by mistake. The remaining codes are as follows, with the missing codes indicated by the dash:
TaskDispatcher dispatcher =
getUlTaskDispatcher();
Revocable revocable =
________________________(new Runnable(){
@Overide Public void run(){
HiLog.info(L . ABEL_ _LOG,'delay dispatch');
}
},10);
Boolean revoked = revocable.revoke();
HiL og.info(L _ABEL_ LOG),'%{public}b' ,revoked);
Which of the following might be missing pieces in the above code?
A.
dispatcher.delayDispatch
B.
dispatcher.asyncDispatch
C.
dispatcher.syncDispatch
D.
dispatcher.createDispatchGroup
Your answer:
0 comments
Sorted by
Leave a comment first