Update Javadoc for AbstractListenerWriteProcessor.write()

Co-authored-by: Rossen Stoyanchev <rstoyanchev@pivotal.io>
This commit is contained in:
Sam Brannen
2020-03-31 18:47:06 +02:00
parent 99c2b1e242
commit e87ab6f4ee

View File

@@ -213,6 +213,9 @@ public abstract class AbstractListenerWriteProcessor<T> implements Processor<T,
* @param data the item to write
* @return whether the current data item was written and another one
* requested ({@code true}), or otherwise if more writes are required.
* @return {@code true} if the current data item was written completely and
* a new item requested, or {@code false} if it was written partially and
* we'll need more write callbacks before it is fully written
*/
protected abstract boolean write(T data) throws IOException;