T - public final class SerializerFileSpool<T> extends Object implements Spool<T>
| Constructor and Description |
|---|
SerializerFileSpool(LocalStorageService service,
Serializer<T,OutputStream> out,
Deserializer<T,InputStream> in) |
| Modifier and Type | Method and Description |
|---|---|
Accumulator<T> |
accumulator()
Returns an Accumulator for the spool file.
|
Iterator<T> |
iterator()
Returns an Iterable over the spool file.
|
public SerializerFileSpool(LocalStorageService service, Serializer<T,OutputStream> out, Deserializer<T,InputStream> in) throws ServiceException
ServiceExceptionpublic Iterator<T> iterator()
Spoolpublic Accumulator<T> accumulator()
Spoolaccumulator in interface Accumulable<T>accumulator in interface Spool<T>AccumulatorCopyright © 2015 The Apache Software Foundation. All rights reserved.