org.springframework.batch.integration.async
Class AsyncItemWriter<T>
java.lang.Object
org.springframework.batch.integration.async.AsyncItemWriter<T>
- All Implemented Interfaces:
- ItemWriter<Future<T>>, InitializingBean
public class AsyncItemWriter<T>
- extends Object
- implements ItemWriter<Future<T>>, InitializingBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsyncItemWriter
public AsyncItemWriter()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface InitializingBean
- Throws:
Exception
setDelegate
public void setDelegate(ItemWriter<T> delegate)
- Parameters:
delegate -
write
public void write(List<? extends Future<T>> items)
throws Exception
- Specified by:
write in interface ItemWriter<Future<T>>
- Throws:
Exception
Copyright © 2011. All Rights Reserved.