當前位置: 首頁>>代碼示例>>Java>>正文


Java TabularData.putAll方法代碼示例

本文整理匯總了Java中javax.management.openmbean.TabularData.putAll方法的典型用法代碼示例。如果您正苦於以下問題:Java TabularData.putAll方法的具體用法?Java TabularData.putAll怎麽用?Java TabularData.putAll使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在javax.management.openmbean.TabularData的用法示例。


在下文中一共展示了TabularData.putAll方法的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: toTabularData

import javax.management.openmbean.TabularData; //導入方法依賴的package包/類
public static TabularData toTabularData(JobDetail[] jobDetails) {
    TabularData tData = new TabularDataSupport(TABULAR_TYPE);
    if (jobDetails != null) {
        ArrayList<CompositeData> list = new ArrayList<CompositeData>();
        for (JobDetail jobDetail : jobDetails) {
            list.add(toCompositeData(jobDetail));
        }
        tData.putAll(list.toArray(new CompositeData[list.size()]));
    }
    return tData;
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:12,代碼來源:JobDetailSupport.java

示例2: toTabularData

import javax.management.openmbean.TabularData; //導入方法依賴的package包/類
public static TabularData toTabularData(List<? extends CronTrigger> triggers) {
    TabularData tData = new TabularDataSupport(TABULAR_TYPE);
    if (triggers != null) {
        ArrayList<CompositeData> list = new ArrayList<CompositeData>();
        for (CronTrigger trigger : triggers) {
            list.add(toCompositeData(trigger));
        }
        tData.putAll(list.toArray(new CompositeData[list.size()]));
    }
    return tData;
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:12,代碼來源:CronTriggerSupport.java

示例3: toTabularData

import javax.management.openmbean.TabularData; //導入方法依賴的package包/類
public static TabularData toTabularData(List<? extends SimpleTrigger> triggers) {
    TabularData tData = new TabularDataSupport(TABULAR_TYPE);
    if (triggers != null) {
        ArrayList<CompositeData> list = new ArrayList<CompositeData>();
        for (SimpleTrigger trigger : triggers) {
            list.add(toCompositeData(trigger));
        }
        tData.putAll(list.toArray(new CompositeData[list.size()]));
    }
    return tData;
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:12,代碼來源:SimpleTriggerSupport.java

示例4: toTabularData

import javax.management.openmbean.TabularData; //導入方法依賴的package包/類
/**
 * @param jobDataMap
 * @return TabularData
 */
public static TabularData toTabularData(JobDataMap jobDataMap) {
    TabularData tData = new TabularDataSupport(TABULAR_TYPE);
    ArrayList<CompositeData> list = new ArrayList<CompositeData>();
    Iterator<String> iter = jobDataMap.keySet().iterator();
    while (iter.hasNext()) {
        String key = iter.next();
        list.add(toCompositeData(key, String.valueOf(jobDataMap.get(key))));
    }
    tData.putAll(list.toArray(new CompositeData[list.size()]));
    return tData;
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:16,代碼來源:JobDataMapSupport.java

示例5: toTabularData

import javax.management.openmbean.TabularData; //導入方法依賴的package包/類
/**
 * @return array of region statistics
 */
public static TabularData toTabularData(
        final List<JobExecutionContext> executingJobs)
        throws SchedulerException {
    List<CompositeData> list = new ArrayList<CompositeData>();
    for (JobExecutionContext executingJob : executingJobs) {
        list.add(toCompositeData(executingJob));
    }
    TabularData td = new TabularDataSupport(TABULAR_TYPE);
    td.putAll(list.toArray(new CompositeData[list.size()]));
    return td;
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:15,代碼來源:JobExecutionContextSupport.java

示例6: toTabularData

import javax.management.openmbean.TabularData; //導入方法依賴的package包/類
public static TabularData toTabularData(JobDetail[] jobDetails) {
	TabularData tData = new TabularDataSupport(TABULAR_TYPE);
	if (jobDetails != null) {
		ArrayList<CompositeData> list = new ArrayList<CompositeData>();
		for (JobDetail jobDetail : jobDetails) {
			list.add(toCompositeData(jobDetail));
		}
		tData.putAll(list.toArray(new CompositeData[list.size()]));
	}
	return tData;
}
 
開發者ID:AsuraTeam,項目名稱:asura,代碼行數:12,代碼來源:JobDetailSupport.java

示例7: toTabularData

import javax.management.openmbean.TabularData; //導入方法依賴的package包/類
/**
 * @param jobDataMap
 * @return TabularData
 */
public static TabularData toTabularData(JobDataMap jobDataMap) {
	TabularData tData = new TabularDataSupport(TABULAR_TYPE);
	ArrayList<CompositeData> list = new ArrayList<CompositeData>();
	Iterator<String> iter = jobDataMap.keySet().iterator();
	while (iter.hasNext()) {
		String key = iter.next();
		list.add(toCompositeData(key, String.valueOf(jobDataMap.get(key))));
	}
	tData.putAll(list.toArray(new CompositeData[list.size()]));
	return tData;
}
 
開發者ID:AsuraTeam,項目名稱:asura,代碼行數:16,代碼來源:JobDataMapSupport.java

示例8: toTabularData

import javax.management.openmbean.TabularData; //導入方法依賴的package包/類
/**
 * @param tabularData
 * @return array of region statistics
 */
public static TabularData toTabularData(
		final List<JobExecutionContext> executingJobs)
		throws SchedulerException {
	List<CompositeData> list = new ArrayList<CompositeData>();
	for (final Iterator<JobExecutionContext> iter = executingJobs
			.iterator(); iter.hasNext();) {
		list.add(toCompositeData(iter.next()));
	}
	TabularData td = new TabularDataSupport(TABULAR_TYPE);
	td.putAll(list.toArray(new CompositeData[list.size()]));
	return td;
}
 
開發者ID:AsuraTeam,項目名稱:asura,代碼行數:17,代碼來源:JobExecutionContextSupport.java

示例9: toTabularData

import javax.management.openmbean.TabularData; //導入方法依賴的package包/類
public static TabularData toTabularData(Trigger[] triggers) {
	TabularData tData = new TabularDataSupport(TABULAR_TYPE);
	if (triggers != null) {
		ArrayList<CompositeData> list = new ArrayList<CompositeData>();
		for (Trigger trigger : triggers) {
			list.add(toCompositeData(trigger));
		}
		tData.putAll(list.toArray(new CompositeData[list.size()]));
	}
	return tData;
}
 
開發者ID:AsuraTeam,項目名稱:asura,代碼行數:12,代碼來源:TriggerSupport.java

示例10: toTabularData

import javax.management.openmbean.TabularData; //導入方法依賴的package包/類
public static TabularData toTabularData(List<? extends Trigger> triggers) {
    TabularData tData = new TabularDataSupport(TABULAR_TYPE);
    if (triggers != null) {
        ArrayList<CompositeData> list = new ArrayList<CompositeData>();
        for (Trigger trigger : triggers) {
            list.add(toCompositeData(trigger));
        }
        tData.putAll(list.toArray(new CompositeData[list.size()]));
    }
    return tData;
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:12,代碼來源:TriggerSupport.java


注:本文中的javax.management.openmbean.TabularData.putAll方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。