org.springframework.batch.integration.async
Class AsyncItemWriter<T>

java.lang.Object
  extended by 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


Constructor Summary
AsyncItemWriter()
           
 
Method Summary
 void afterPropertiesSet()
           
 void setDelegate(ItemWriter<T> delegate)
           
 void write(List<? extends Future<T>> items)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncItemWriter

public AsyncItemWriter()
Method Detail

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.