public class XLogAuditStreamer extends XLogStreamer
XLogStreamer.FileInfo| Modifier and Type | Field and Description |
|---|---|
static String |
STREAM_BUFFER_LEN |
bufferLen, CONF_PREFIX, gzTimePattern, logFilter, totalDataWritten| Constructor and Description |
|---|
XLogAuditStreamer(Map<String,String[]> requestParameters) |
XLogAuditStreamer(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() |
boolean |
shouldFlushOutput(int byteCountIgnored) |
getBufferLen, getRequestParam, getXLogFilter, makeReader, streamLog, streamLogpublic static final String STREAM_BUFFER_LEN
public XLogAuditStreamer(XLogFilter logFilter, Map<String,String[]> requestParameters)
public XLogAuditStreamer(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 XLogStreamerpublic boolean shouldFlushOutput(int byteCountIgnored)
shouldFlushOutput in class XLogStreamerCopyright © 2018 Apache Software Foundation. All rights reserved.