org.apache.hadoop.yarn.api.records
Class LogAggregationContext

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.LogAggregationContext

@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:

See Also:
ApplicationSubmissionContext

Constructor Summary
LogAggregationContext()
           
 
Method Summary
abstract  String getExcludePattern()
          Get exclude pattern
abstract  String getIncludePattern()
          Get include pattern
static LogAggregationContext newInstance(String includePattern, String excludePattern)
           
abstract  void setExcludePattern(String excludePattern)
          Set exclude pattern
abstract  void setIncludePattern(String includePattern)
          Set include pattern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogAggregationContext

public LogAggregationContext()
Method Detail

newInstance

@InterfaceAudience.Public
@InterfaceStability.Unstable
public static LogAggregationContext newInstance(String includePattern,
                                                                                                     String excludePattern)

getIncludePattern

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract String getIncludePattern()
Get include pattern

Returns:
include pattern

setIncludePattern

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract void setIncludePattern(String includePattern)
Set include pattern

Parameters:
includePattern -

getExcludePattern

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract String getExcludePattern()
Get exclude pattern

Returns:
exclude pattern

setExcludePattern

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract void setExcludePattern(String excludePattern)
Set exclude pattern

Parameters:
excludePattern -


Copyright © 2014 Apache Software Foundation. All Rights Reserved.