package Ġfr . g 1 2 3 k . device apps Ċ Ċ import Ġjava . util . concurrent . Linked BlockingQueue Ċ import Ġjava . util . concurrent . ThreadPoolExecutor Ċ import Ġjava . util . concurrent . TimeUnit Ċ Ċ internal Ġclass ĠAsync Work Ġ{ ĊĠĠĠ Ġprivate Ġval Ġthread Pool Executor : ĠThreadPool Executor Ġ Ġ= ĠThreadPool Executor ( 1 , ĊĠĠĠĠĠĠĠĠĠĠĠĠ 1 , Ġ 1 , ĊĠĠĠĠĠĠĠĠĠĠĠ ĠTimeUnit . SECONDS , ĠLinked BlockingQueue ()) ĊĠĠĠ Ġfun Ġrun ( run nable : ĠRunnable ?) Ġ= Ġthread Pool Executor . execute ( run nable ) ĊĊĠĠĠ Ġfun Ġstop () Ġ= Ġthread Pool Executor . shutdown () Ċ }