|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.databene.benerator.consumer.AbstractConsumer
org.databene.benerator.consumer.LoggingConsumer
public class LoggingConsumer
A Consumer
that logs the entities that it receives at info level.
Created: 26.08.2007 14:52:40
Constructor Summary | |
---|---|
LoggingConsumer()
|
Method Summary | |
---|---|
void |
close()
When called, the implementor has to close and free all resources. |
void |
finishProductConsumption(java.lang.Object object)
|
void |
flush()
Is called by Benerator for advising the Consumer to finish processing of the objects consumed so far. |
void |
startProductConsumption(java.lang.Object object)
|
Methods inherited from class org.databene.benerator.consumer.AbstractConsumer |
---|
finishConsuming, startConsuming, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LoggingConsumer()
Method Detail |
---|
public void startProductConsumption(java.lang.Object object)
startProductConsumption
in class AbstractConsumer
public void finishProductConsumption(java.lang.Object object)
finishProductConsumption
in class AbstractConsumer
public void flush()
Consumer
pageSize
attribute.
flush
in interface java.io.Flushable
flush
in interface Consumer
flush
in class AbstractConsumer
public void close()
Consumer
close
in interface java.io.Closeable
close
in interface Consumer
close
in class AbstractConsumer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |