@InterfaceStability.Evolving @InterfaceAudience.Public public abstract class LogAggregationContext extends Object
LogAggregationContext
represents all of the
information needed by the NodeManager
to handle
the logs for an application.
It includes details such as:
ApplicationSubmissionContext
Constructor and Description |
---|
LogAggregationContext() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getExcludePattern()
Get exclude pattern.
|
abstract String |
getIncludePattern()
Get include pattern.
|
abstract String |
getRolledLogsExcludePattern()
Get exclude pattern for aggregation in a rolling fashion.
|
abstract String |
getRolledLogsIncludePattern()
Get include pattern in a rolling fashion.
|
static LogAggregationContext |
newInstance(String includePattern,
String excludePattern) |
static LogAggregationContext |
newInstance(String includePattern,
String excludePattern,
String rolledLogsIncludePattern,
String rolledLogsExcludePattern) |
abstract void |
setExcludePattern(String excludePattern)
Set exclude pattern.
|
abstract void |
setIncludePattern(String includePattern)
Set include pattern.
|
abstract void |
setRolledLogsExcludePattern(String rolledLogsExcludePattern)
Set exclude pattern for in a rolling fashion.
|
abstract void |
setRolledLogsIncludePattern(String rolledLogsIncludePattern)
Set include pattern in a rolling fashion.
|
public LogAggregationContext()
@InterfaceAudience.Public @InterfaceStability.Unstable public static LogAggregationContext newInstance(String includePattern, String excludePattern)
@InterfaceAudience.Public @InterfaceStability.Unstable public static LogAggregationContext newInstance(String includePattern, String excludePattern, String rolledLogsIncludePattern, String rolledLogsExcludePattern)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getIncludePattern()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setIncludePattern(String includePattern)
includePattern
- @InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getExcludePattern()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setExcludePattern(String excludePattern)
excludePattern
- @InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getRolledLogsIncludePattern()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setRolledLogsIncludePattern(String rolledLogsIncludePattern)
rolledLogsIncludePattern
- @InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getRolledLogsExcludePattern()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setRolledLogsExcludePattern(String rolledLogsExcludePattern)
rolledLogsExcludePattern
- Copyright © 2018 Apache Software Foundation. All rights reserved.