Exemple #1
0
        public static LogAggregationContext NewInstance(string includePattern, string excludePattern
                                                        )
        {
            LogAggregationContext context = Org.Apache.Hadoop.Yarn.Util.Records.NewRecord <LogAggregationContext
                                                                                           >();

            context.SetIncludePattern(includePattern);
            context.SetExcludePattern(excludePattern);
            return(context);
        }