AsyncAnnotation { void longTimeOperation(long millisecond) { internalService.longTimeOperation(millisecond); }    }
@Test public void longTimeOperationTest() throws Exception { long begin, end; { begin = System.currentTimeMillis(); asyncAnnotation.longTimeOperation(TTL); end = System.currentTimeMillis(); System.out.println(String.format("Normal Async Done in %d milliseconds", end - begin)); } { begin = System.currentTimeMillis(); asyncAnnotation.longTimeOperationInternal(TTL); end = System.currentTimeMillis(); System.out.println(String.format("Internal Async Done in %d milliseconds", end - begin)); } { begin = System.currentTimeMillis(); asyncAnnotation.longTimeOperationOrigin(TTL); end = System.currentTimeMillis(); System.out.println(String.format("Origin Async Done in %d milliseconds", end - begin)); } }