T - the type of the datums accumulatedpublic interface Accumulator<T> extends AutoCloseable
void add(T datum) throws ServiceException
datum - the datum to be addedServiceExceptionvoid close() throws ServiceException
close in interface AutoCloseableServiceExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.