C - the consumed element generic typepublic interface Consumer<C>
void provide(C element) throws Exception
element - the provided elementException - any exceptionvoid flush() throws IOException
IOException - any io exceptionClass<C> getConsumedType()
Copyright © 2015 eXo Platform SAS. All Rights Reserved.