internal RMAppAttemptBlock(View.ViewContext ctx, ResourceManager rm, Configuration conf) : base(rm.GetClientRMService(), ctx) { this.rm = rm; this.conf = conf; }
protected internal AppBlock(ApplicationBaseProtocol appBaseProt, View.ViewContext ctx, Configuration conf) : base(ctx) { this.appBaseProt = appBaseProt; this.conf = conf; }
public FairSchedulerAppsBlock(ResourceManager rm, View.ViewContext ctx, Configuration conf) : base(ctx) { FairScheduler scheduler = (FairScheduler)rm.GetResourceScheduler(); fsinfo = new FairSchedulerInfo(scheduler); apps = new ConcurrentHashMap <ApplicationId, RMApp>(); foreach (KeyValuePair <ApplicationId, RMApp> entry in rm.GetRMContext().GetRMApps( )) { if (!(RMAppState.New.Equals(entry.Value.GetState()) || RMAppState.NewSaving.Equals (entry.Value.GetState()) || RMAppState.Submitted.Equals(entry.Value.GetState()))) { apps[entry.Key] = entry.Value; } } this.conf = conf; this.rm = rm; }
internal LeafQueueBlock(View.ViewContext ctx, FairSchedulerPage.FSQInfo info) : base(ctx) { qinfo = (FairSchedulerLeafQueueInfo)info.qinfo; }
internal RMAppBlock(View.ViewContext ctx, Configuration conf, ResourceManager rm) : base(rm.GetClientRMService(), ctx, conf) { this.conf = conf; this.rm = rm; }
internal AboutBlock(ResourceManager rm, View.ViewContext ctx) : base(ctx) { this.rm = rm; }
internal MetricsOverviewTable(ResourceManager rm, View.ViewContext ctx) : base(ctx) { this.rm = rm; }
internal RMAppsBlock(ResourceManager rm, ApplicationBaseProtocol appBaseProt, View.ViewContext ctx) : base(appBaseProt, ctx) { this.rm = rm; }
internal QueueUsersInfoBlock(View.ViewContext ctx, CapacitySchedulerPage.CSQInfo info) : base(ctx) { lqinfo = (CapacitySchedulerLeafQueueInfo)info.qinfo; }
internal SCMOverviewBlock(SharedCacheManager scm, View.ViewContext ctx) : base(ctx) { this.scm = scm; }
internal CountersBlock(AppContext appCtx, View.ViewContext ctx) : base(ctx) { GetCounters(appCtx); }
protected internal HtmlPage(View.ViewContext ctx) : base(ctx, MimeType.Html) { }
public ContainerBlock(ApplicationBaseProtocol appBaseProt, View.ViewContext ctx) : base(ctx) { this.appBaseProt = appBaseProt; }
internal SingleCounterBlock(AppContext appCtx, View.ViewContext ctx) : base(ctx) { this.PopulateMembers(appCtx); }
public AppAttemptBlock(ApplicationBaseProtocol appBaseProt, View.ViewContext ctx) : base(ctx) { this.appBaseProt = appBaseProt; }
protected internal TextPage(View.ViewContext ctx) : base(ctx, MimeType.Text) { }
protected internal AppsBlock(ApplicationBaseProtocol appBaseProt, View.ViewContext ctx) : base(ctx) { this.appBaseProt = appBaseProt; }
protected internal TextView(View.ViewContext ctx, string contentType) : base(ctx) { this.contentType = contentType; }
internal NodeLabelsBlock(ResourceManager rm, View.ViewContext ctx) : base(ctx) { this.rm = rm; }
internal QueueInfoBlock(View.ViewContext ctx, ResourceManager rm) : base(ctx) { sinfo = new FifoSchedulerInfo(rm); }