| Modifier and Type | Method and Description |
|---|---|
void |
addListener(java.io.Closeable listener) |
void |
flush() |
java.lang.Class<Chunk> |
getConsumedType()
Returns the class of the element generic type.
|
boolean |
isWaitingEvent() |
void |
provide(Chunk element)
Provide an element.
|
void |
run() |
public boolean isWaitingEvent()
public void run()
run in interface java.lang.Runnablepublic void addListener(java.io.Closeable listener)
public java.lang.Class<Chunk> getConsumedType()
ConsumergetConsumedType in interface Consumer<Chunk>public void provide(Chunk element) throws java.io.IOException
Consumerpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushablejava.io.IOExceptionCopyright © 2014 eXo Platform SAS. All Rights Reserved.