@InterfaceAudience.Public
 @InterfaceStability.Unstable
public interface ContainerLogAggregationPolicy
| Modifier and Type | Method and Description | 
|---|---|
| void | parseParameters(String parameters)
 The method used by the NodeManager log aggregation service
 to initial the policy object with parameters specified by the application
 or the cluster-wide setting. | 
| boolean | shouldDoLogAggregation(ContainerLogContext logContext)
 The method used by the NodeManager log aggregation service
 to ask the policy object if a given container's logs should be aggregated. | 
void parseParameters(String parameters)
The method used by the NodeManager log aggregation service to initial the policy object with parameters specified by the application or the cluster-wide setting.
parameters - parameters with scheme defined by the policy class.boolean shouldDoLogAggregation(ContainerLogContext logContext)
The method used by the NodeManager log aggregation service to ask the policy object if a given container's logs should be aggregated.
logContext - ContainerLogContextCopyright © 2008–2023 Apache Software Foundation. All rights reserved.