Package org.springframework.core.task

Examples of org.springframework.core.task.AsyncTaskExecutor.execute()


    @Test
    public void testExecutionMethod() throws InterruptedException {
        AsyncTaskExecutor executor = new SimpleAsyncTaskExecutor("tTestExecutionMethod");
        SignallingRunnable runner = new SignallingRunnable("testExecutionMethod");
        executor.execute(runner, 125L);

        assertLastExecutionOperation(runner);
        assertCurrentThreadExecution();
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.