org.springframework.batch.repeat.support
Class AsynchronousRepeatTests
java.lang.Object
TestCase
org.springframework.batch.repeat.support.AbstractTradeBatchTests
org.springframework.batch.repeat.support.AsynchronousRepeatTests
public class AsynchronousRepeatTests
- extends AbstractTradeBatchTests
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsynchronousRepeatTests
public AsynchronousRepeatTests()
testMultiThreadAsynchronousExecution
public void testMultiThreadAsynchronousExecution()
throws Exception
- Run a batch with a single template that itself has an asynch task
executor. The result is a batch that runs in multiple threads (up to the
throttle limit of the template).
- Throws:
Exception
testSingleThreadAsynchronousExecution
public void testSingleThreadAsynchronousExecution()
throws Exception
- Wrap an otherwise synchronous batch in a callback to an asynchronous
template.
- Throws:
Exception
Copyright © 2008 SpringSource. All Rights Reserved.