public class ECGDeployer extends InstanceDeployer
MODULE| Constructor and Description |
|---|
ECGDeployer() |
ECGDeployer(java.util.Properties streamingProperties)
Initializes the deployer.
|
| Modifier and Type | Method and Description |
|---|---|
ECGMonitor |
initializeRespirationMap(int opGroup,
int opIndex,
int distinctOps,
boolean isActive,
boolean hasUpdates)
Initialize a specific
RespirationMap instance. |
static void |
main(java.lang.String[] args) |
void |
prepareInstancesAndDeploy(double percentActive,
int numMon)
This method deploys
RespirationMap instances over the set of
available resources. |
void |
terminateJob()
This method attempts to terminate the job that was previously submitted.
|
completedExecution, completedSuccessfully, completedWithErrors, createJobIdentifier, deployOperations, deployOperations, deployOperations, getStatus, initialize, initialize, initialize, killJob, refreshStatus, refreshStatus, resetTrackers, setStartTime, startedExecutionpublic ECGDeployer()
public ECGDeployer(java.util.Properties streamingProperties)
throws CommunicationsException,
java.io.IOException,
MarshallingException,
DeploymentException
streamingProperties - The properties for streamingCommunicationsException - If there are network problems during communicationsjava.io.IOException - If there are IO problemsMarshallingException - If there are marshalling errorsDeploymentException - If there are deployment related problemspublic ECGMonitor initializeRespirationMap(int opGroup, int opIndex, int distinctOps, boolean isActive, boolean hasUpdates) throws DatasetException
RespirationMap instance.
always assumes a single operationpostFix - The instance ID for the instance in question.repLevel - numPassive - RepTestMap instance.DatasetException - If there are problems initializing the dataset.public void prepareInstancesAndDeploy(double percentActive,
int numMon)
throws DatasetException,
CommunicationsException,
DeploymentException,
MarshallingException
RespirationMap instances over the set of
available resources.
assumes only a single operationrepLevel - DatasetException - If there are problems initializing the datasetsCommunicationsException - If there are network problems during communicationsDeploymentException - If there are deployment related problemsMarshallingException - If there are marshalling problems.public void terminateJob()
throws DeploymentException,
CommunicationsException,
MarshallingException
DeploymentException - If there are deployment related problemsCommunicationsException - If there are network problems during communicationsMarshallingException - If there are marshalling problems.public static void main(java.lang.String[] args)
args -