Package com.alibaba.otter.manager.biz.statistics.delay.dal.dataobject

Examples of com.alibaba.otter.manager.biz.statistics.delay.dal.dataobject.DelayStatDO


    /**
     * 通过pipeLineId得到一个以gmtCreate倒排序的第一条记录
     */
    public DelayStat findRealtimeDelayStat(Long pipelineId) {
        Assert.assertNotNull(pipelineId);
        DelayStatDO delayStatDO = delayStatDao.findRealtimeDelayStat(pipelineId);
        DelayStat delayStat = new DelayStat();
        if (delayStatDO != null) {
            delayStat = delayStatDOToModel(delayStatDO);
        }
        return delayStat;
View Full Code Here


     *
     * @param delayStat
     * @return DelayStatDO
     */
    private DelayStatDO delayStatModelToDo(DelayStat delayStat) {
        DelayStatDO delayStatDO = new DelayStatDO();
        delayStatDO.setId(delayStat.getId());
        delayStatDO.setDelayTime(delayStat.getDelayTime());
        delayStatDO.setDelayNumber(delayStat.getDelayNumber());
        delayStatDO.setPipelineId(delayStat.getPipelineId());
        delayStatDO.setGmtCreate(delayStat.getGmtCreate());
        delayStatDO.setGmtModified(delayStat.getGmtModified());
        return delayStatDO;

    }
View Full Code Here

TOP

Related Classes of com.alibaba.otter.manager.biz.statistics.delay.dal.dataobject.DelayStatDO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.