()
| 49 | actx.setTimeout(Long.MAX_VALUE); |
| 50 | Runnable run = new Runnable() { |
| 51 | @Override |
| 52 | public void run() { |
| 53 | try { |
| 54 | req.setAttribute("dispatch", Boolean.TRUE); |
| 55 | Thread.currentThread().setName("Async0-Thread"); |
| 56 | log.info("Putting AsyncThread to sleep"); |
| 57 | Thread.sleep(2*1000); |
| 58 | log.info("Dispatching"); |
| 59 | actx.dispatch(); |
| 60 | }catch (InterruptedException | IllegalStateException x) { |
| 61 | log.error("Async1",x); |
| 62 | } |
| 63 | } |
| 64 | }; |
| 65 | Thread t = new Thread(run); |
| 66 | t.start(); |
nothing calls this directly
no test coverage detected