org.springframework.batch.integration.async
Class AsyncItemWriter<T>
java.lang.Object
org.springframework.batch.integration.async.AsyncItemWriter<T>
- All Implemented Interfaces:
- org.springframework.batch.item.ItemWriter<Future<T>>, org.springframework.beans.factory.InitializingBean
public class AsyncItemWriter<T>
- extends Object
- implements org.springframework.batch.item.ItemWriter<Future<T>>, org.springframework.beans.factory.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 org.springframework.beans.factory.InitializingBean
- Throws:
Exception
setDelegate
public void setDelegate(org.springframework.batch.item.ItemWriter<T> delegate)
- Parameters:
delegate -
write
public void write(List<? extends Future<T>> items)
throws Exception
- Specified by:
write in interface org.springframework.batch.item.ItemWriter<Future<T>>
- Throws:
Exception
Copyright © 2013. All Rights Reserved.