Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright 2014 LinkedIn Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package azkaban.executor;
import azkaban.project.Project;
import azkaban.utils.FileIOUtils.JobMetaData;
import azkaban.utils.FileIOUtils.LogData;
import azkaban.utils.Pair;
import java.io.IOException;
import java.lang.Thread.State;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
public interface ExecutorManagerAdapter {
public boolean isFlowRunning(int projectId, String flowId);
public ExecutableFlow getExecutableFlow(int execId)
throws ExecutorManagerException;
public List getRunningFlows(int projectId, String flowId);
public List getRunningFlows() throws IOException;
/**
*
* Returns All running with executors and queued flows
* Note, returns empty list if there isn't any running or queued flows
*
*/
public List>> getActiveFlowsWithExecutor()
throws IOException;
public List getRecentlyFinishedFlows();
public List getExecutableFlows(Project project,
String flowId, int skip, int size) throws ExecutorManagerException;
public List getExecutableFlows(int skip, int size)
throws ExecutorManagerException;
public List getExecutableFlows(String flowIdContains,
int skip, int size) throws ExecutorManagerException;
public List getExecutableFlows(String projContain,
String flowContain, String userContain, int status, long begin, long end,
int skip, int size) throws ExecutorManagerException;
public int getExecutableFlows(int projectId, String flowId, int from,
int length, List outputList)
throws ExecutorManagerException;
public List getExecutableFlows(int projectId, String flowId,
int from, int length, Status status) throws ExecutorManagerException;
public List getExecutableJobs(Project project,
String jobId, int skip, int size) throws ExecutorManagerException;
public int getNumberOfJobExecutions(Project project, String jobId)
throws ExecutorManagerException;
public int getNumberOfExecutions(Project project, String flowId)
throws ExecutorManagerException;
public LogData getExecutableFlowLog(ExecutableFlow exFlow, int offset,
int length) throws ExecutorManagerException;
public LogData getExecutionJobLog(ExecutableFlow exFlow, String jobId,
int offset, int length, int attempt) throws ExecutorManagerException;
public List