All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.edas.schedulerx.ScxSimpleJobContext Maven / Gradle / Ivy

package com.alibaba.edas.schedulerx;

import com.alibaba.dts.client.executor.job.context.ClientContextImpl;
import com.alibaba.dts.client.executor.simple.processor.SimpleJobContextImpl;
import com.alibaba.dts.common.domain.store.Job;
import com.alibaba.dts.common.domain.store.JobInstanceSnapshot;

/**
 * Created by yanshan.sy on 2016/4/13.
 */
public class ScxSimpleJobContext extends SimpleJobContextImpl {
    public ScxSimpleJobContext() {

    }

    public ScxSimpleJobContext(ClientContextImpl clientContext, Job job, JobInstanceSnapshot jobInstanceSnapshot, int retryCount) {
        super(clientContext, job, jobInstanceSnapshot, retryCount);
    }

    public void setAvailableMachineAmount(int availableMachineAmount) {
        super.setAvailableMachineAmount(availableMachineAmount);
    }

    public void setCurrentMachineNumber(int currentMachineNumber) {
        super.setCurrentMachineNumber(currentMachineNumber);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy