public class QueueJobManager extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
QueueJobManager.Broadcaster |
class |
QueueJobManager.ComputationTimerWatcher |
class |
QueueJobManager.StatusListener |
| Constructor and Description |
|---|
QueueJobManager(String scope,
int numberOfNodes,
List<String> eprs,
String session) |
QueueJobManager(String scope,
int numberOfNodes,
String session) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
deleteRemoteFolder() |
int |
getActiveNodes() |
int |
getNumberOfNodes() |
String |
getQueueURL(String scope) |
float |
getStatus() |
boolean |
hasResentMessages() |
void |
purgeQueues() |
void |
setNumberOfNodes(int newNumberOfNodes) |
void |
stop() |
boolean |
uploadAndExecuteChunkized(String serviceClass,
String serviceName,
String owner,
String localDir,
String remoteDir,
String outputDir,
String script,
List<String> arguments,
String configuration,
boolean deletefiles,
boolean forceUpload) |
void |
waitForMessages() |
boolean |
wasAborted() |
public static int broadcastTimePeriod
public static int maxSilenceTimeBeforeComputationStop
public static int maxNumberOfComputationRetries
public static int computationWatcherTimerPeriod
public static int maxNumberOfStages
public static int queueWatcherMaxwaitingTime
protected int maxFailureTries
protected String scope
protected String session
protected boolean yetstopped
protected boolean messagesresent
protected float status
protected boolean abort
protected boolean shutdown
protected int activeNodes
protected int computingNodes
protected int numberOfMessages
protected int totalNumberOfMessages
protected int actualNumberOfNodes
protected int totalNumberOfStages
public int currentNumberOfStages
protected String queueName
protected String queueResponse
protected String queueURL
protected String queueUSER
protected String queuePWD
protected Consumer consumer
protected Producer producer
public int[] resentMessages
public QueueJobManager(String scope, int numberOfNodes, String session) throws Exception
Exceptionpublic int getActiveNodes()
public float getStatus()
public int getNumberOfNodes()
public void setNumberOfNodes(int newNumberOfNodes)
public boolean uploadAndExecuteChunkized(String serviceClass, String serviceName, String owner, String localDir, String remoteDir, String outputDir, String script, List<String> arguments, String configuration, boolean deletefiles, boolean forceUpload) throws Exception
Exceptionpublic boolean hasResentMessages()
public boolean wasAborted()
public void stop()
public void abort()
Copyright © 2016. All Rights Reserved.