org.springframework.batch.repeat.support
Class ChunkedRepeatTests
java.lang.Object
TestCase
org.springframework.batch.repeat.support.AbstractTradeBatchTests
org.springframework.batch.repeat.support.ChunkedRepeatTests
public class ChunkedRepeatTests
- extends AbstractTradeBatchTests
Test various approaches to chunking of a batch. Not really a unit test, but
it should be fast.
- Author:
- Dave Syer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChunkedRepeatTests
public ChunkedRepeatTests()
testChunkedBatchWithTerminationPolicy
public void testChunkedBatchWithTerminationPolicy()
throws Exception
- Chunking using a dedicated TerminationPolicy. Transactions would be laid
on at the level of chunkTemplate.execute() or the surrounding callback.
- Throws:
Exception
testAsynchronousChunkedBatchWithCompletionPolicy
public void testAsynchronousChunkedBatchWithCompletionPolicy()
throws Exception
- Chunking with an asynchronous taskExecutor in the chunks. Transactions
have to be at the level of the business callback.
- Throws:
Exception
testChunksWithTruncatedItemProvider
public void testChunksWithTruncatedItemProvider()
throws Exception
- Explicit chunking of input data. Transactions would be laid on at the
level of template.execute().
- Throws:
Exception
Copyright © 2008 SpringSource. All Rights Reserved.