public class StatisticsWriter extends AbstractRecordWriter implements org.springframework.beans.factory.BeanNameAware
| Constructor and Description |
|---|
StatisticsWriter() |
StatisticsWriter(Writer<Record> writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
Statistics |
getStatistics() |
Writer<Record> |
getWriter() |
void |
init() |
void |
setBeanName(String beanName) |
void |
setStatistics(Statistics statistics) |
void |
setWriter(Writer<Record> writer) |
String |
toString() |
void |
write(Record object) |
getRecordDefinition, isIndent, isWritable, isWriteNulls, setIndent, setProperty, setWriteNullsclose, close, close, openclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setPropertySoft, setPropertyWeakclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setPropertySoft, setPropertyWeakpublic void close()
close in interface Writer<Record>close in interface AutoCloseableclose in class AbstractWriter<Record>public void flush()
public Statistics getStatistics()
@PostConstruct public void init()
public void setBeanName(String beanName)
setBeanName in interface org.springframework.beans.factory.BeanNameAwarepublic void setStatistics(Statistics statistics)
statistics - the statistics to setCopyright © 2015 Revolution Systems Inc.. All rights reserved.