public class QueueJobManager extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
QueueJobManager.Broadcaster |
class |
QueueJobManager.ComputationTimerWatcher |
class |
QueueJobManager.StatusListener |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
abort |
protected int |
activeNodes |
protected int |
actualNumberOfNodes |
static int |
broadcastTimePeriod |
static int |
computationWatcherTimerPeriod |
protected int |
computingNodes |
protected Consumer |
consumer |
int |
currentNumberOfStages |
protected List<org.apache.axis.message.addressing.EndpointReferenceType> |
eprs |
protected List<String> |
filenames |
protected List<String> |
fileurls |
protected org.gcube.common.core.scope.GCUBEScope |
gscope |
protected int |
maxFailureTries |
static int |
maxNumberOfComputationRetries |
static int |
maxNumberOfStages |
static int |
maxSilenceTimeBeforeComputationStop |
protected boolean |
messagesresent |
protected int |
numberOfMessages |
protected Producer |
producer |
protected String |
queueName |
protected String |
queuePWD |
protected String |
queueResponse |
protected String |
queueURL |
protected String |
queueUSER |
static int |
queueWatcherMaxwaitingTime |
int[] |
resentMessages |
protected String |
scope |
protected String |
session |
protected boolean |
shutdown |
protected float |
status |
protected int |
totalNumberOfMessages |
protected int |
totalNumberOfStages |
protected boolean |
yetstopped |
| Constructor and Description |
|---|
QueueJobManager(String scope,
int numberOfNodes) |
QueueJobManager(String scope,
int numberOfNodes,
List<org.apache.axis.message.addressing.EndpointReferenceType> eprs) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
deleteRemoteFolder() |
int |
getActiveNodes() |
int |
getNumberOfNodes() |
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 org.gcube.common.core.scope.GCUBEScope gscope
protected String session
protected boolean yetstopped
protected boolean messagesresent
protected float status
protected boolean abort
protected boolean shutdown
protected List<org.apache.axis.message.addressing.EndpointReferenceType> eprs
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) 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 © 2014. All Rights Reserved.