public class XLogErrorStreamer extends XLogStreamer
XLogStreamer.FileInfo| Modifier and Type | Field and Description |
|---|---|
static String |
STREAM_BUFFER_LEN |
bufferLen, CONF_PREFIX, gzTimePattern, logFilter, totalDataWritten| Constructor and Description |
|---|
XLogErrorStreamer(Map<String,String[]> requestParameters) |
XLogErrorStreamer(XLogFilter logFilter,
Map<String,String[]> requestParameters) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculateAndValidateDateRange(Date startTime,
Date endTime) |
String |
getLogDisableMessage() |
String |
getLogType() |
boolean |
isLogEnabled() |
getBufferLen, getRequestParam, getXLogFilter, makeReader, shouldFlushOutput, streamLog, streamLogpublic static final String STREAM_BUFFER_LEN
public XLogErrorStreamer(XLogFilter logFilter, Map<String,String[]> requestParameters)
public XLogErrorStreamer(Map<String,String[]> requestParameters) throws CommandException
CommandExceptionprotected void calculateAndValidateDateRange(Date startTime, Date endTime) throws IOException
calculateAndValidateDateRange in class XLogStreamerIOExceptionpublic boolean isLogEnabled()
isLogEnabled in class XLogStreamerpublic String getLogType()
getLogType in class XLogStreamerpublic String getLogDisableMessage()
getLogDisableMessage in class XLogStreamerCopyright © 2018 Apache Software Foundation. All rights reserved.