当前位置: 首页>>代码示例>>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;未经允许,请勿转载。