Package com.asakusafw.yaess.jobqueue.client

Examples of com.asakusafw.yaess.jobqueue.client.JobId


        JobScript job = convert(context, script);
        for (int i = 1, n = clients.count() * 2; i <= n; i++) {
            monitor.checkCancelled();
            JobClient client = clients.get();
            try {
                JobId id = registerWithTimeout(job, client);
                return new JobInfo(job, id, client);
            } catch (IOException e) {
                clients.setError(client);
                YSLOG.warn(e, "W01001",
                        job.getBatchId(),
View Full Code Here


                        job.getPhase(),
                        job.getExecutionId(),
                        job.getStageId(),
                        client);
                long start = System.currentTimeMillis();
                JobId id = client.register(job);
                long end = System.currentTimeMillis();
                YSLOG.info("I01002",
                        job.getBatchId(),
                        job.getFlowId(),
                        job.getPhase(),
View Full Code Here

        private final LinkedList<JobStatus> sequence;

        private volatile boolean submitted;

        public MockJobClient(String id, JobStatus.Kind... sequence) {
            this.jobId = id == null ? null : new JobId(id);
            this.sequence = new LinkedList<JobStatus>();
            for (JobStatus.Kind kind : sequence) {
                JobStatus result = new JobStatus();
                result.setKind(kind);
                result.setJobId(id == null ? "DUMMY" : id);
View Full Code Here

TOP

Related Classes of com.asakusafw.yaess.jobqueue.client.JobId

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.