public class DebugWriter extends ProxyWriter
DataEndpoint.State
lastRecord, PRODUCT, PRODUCT_VERSION, VENDOR, XML_INPUT_FACTORY_KEY
BUFFER_SIZE, captureElapsedTime, DEFAULT_READ_BUFFER_SIZE
log, name, TIMESTAMP_FORMAT
Constructor and Description |
---|
DebugWriter(DataWriter nestedDataWriter) |
DebugWriter(DataWriter nestedDataWriter,
String id) |
DebugWriter(DataWriter nestedDataWriter,
String id,
OutputStream outputStream) |
DebugWriter(DataWriter nestedDataWriter,
String id,
Writer writer) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Indicates that this endpoint has finished reading or writing.
|
boolean |
getCloseWriterOnClose() |
boolean |
getIncludeElapsedTime() |
protected Record |
interceptRecord(Record record) |
void |
setCloseWriterOnClose(boolean closeWriterOnClose) |
DebugWriter |
setIncludeElapsedTime(boolean includeElapsedTime) |
addExceptionProperties, available, getNestedWriter, map, map, open, setNestedDataWriter, setNestedDataWriter, writeImpl
getNestedEndpoint, getRootEndpoint, getRootWriter, write
decrementRecordCount, enableJmx, getLastRecord, getRecordCount, getRecordCountAsBigInteger, getRecordCountAsString, incrementRecordCount, isRecordCountBigInteger, resetRecordCount, toString
addElapsedtime, assertClosed, assertNotOpened, assertOpened, finalize, getClosedOn, getDescription, getElapsedTime, getElapsedTimeAsString, getOpenedOn, getOpenElapsedTime, getOpenElapsedTimeAsString, getSelfTime, getSelfTimeAsString, getState, isCaptureElapsedTime, isClosed, isOpen, setCaptureElapsedTime, setDescription
public DebugWriter(DataWriter nestedDataWriter, String id, Writer writer)
public DebugWriter(DataWriter nestedDataWriter, String id, OutputStream outputStream)
public DebugWriter(DataWriter nestedDataWriter, String id)
public DebugWriter(DataWriter nestedDataWriter)
public void close() throws DataException
DataEndpoint
close
in class ProxyWriter
DataException
public boolean getCloseWriterOnClose()
public void setCloseWriterOnClose(boolean closeWriterOnClose)
public boolean getIncludeElapsedTime()
public DebugWriter setIncludeElapsedTime(boolean includeElapsedTime)
protected Record interceptRecord(Record record) throws Throwable
interceptRecord
in class ProxyWriter
Throwable
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.