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, streamLog
public static final String STREAM_BUFFER_LEN
public XLogAuditStreamer(XLogFilter logFilter, Map<String,String[]> requestParameters)
public XLogAuditStreamer(Map<String,String[]> requestParameters) throws CommandException
CommandException
protected void calculateAndValidateDateRange(Date startTime, Date endTime) throws IOException
calculateAndValidateDateRange
in class XLogStreamer
IOException
public boolean isLogEnabled()
isLogEnabled
in class XLogStreamer
public String getLogType()
getLogType
in class XLogStreamer
public String getLogDisableMessage()
getLogDisableMessage
in class XLogStreamer
public boolean shouldFlushOutput(int byteCountIgnored)
shouldFlushOutput
in class XLogStreamer
Copyright © 2018 Apache Software Foundation. All rights reserved.