public class ExecutionProfileSetup extends Object implements ExecutionProfile
| Constructor and Description |
|---|
ExecutionProfileSetup(byte[] marshalledBytes) |
ExecutionProfileSetup(String operationBinding) |
| Modifier and Type | Method and Description |
|---|---|
void |
changeToExecuteContinuously() |
void |
changeToExecuteFixedNumberOfTimes(int numOfTimes) |
void |
changeToExecuteOnce() |
void |
changeToExecutePeriodically(long execInterval) |
void |
changeToExecuteWhenDataAvailable() |
void |
changeToStayAlive() |
byte[] |
getBytes() |
long |
getExecutionInterval()
Retrieve the execution interval.
|
int |
getNumberOfTimesToExecute()
Retrieves the number of times the operation needs to be executed.
|
boolean |
isExcuteAFixedNumberOfTimes()
Indicates whether the operation needs to be executed a fixed number of
times
|
boolean |
isExecuteContinuously()
This computation task will run continuously as and when it is scheduled.
|
boolean |
isExecuteOnce()
This indicates if the operation needs to be executed exactly once
|
boolean |
isExecutePeriodically()
Indicates whether the operation needs to be executed periodically.
|
boolean |
isExecuteWhenDataAvailable()
This indicates that the operation should be run when new data is made
available on its input datasets.
|
boolean |
isStayAlive()
This indicates that the operation should be allowed to continually run
until the operation deems necessary.
|
void |
setAsExecuteContinuously(String binding) |
void |
setAsExecuteFixedNumberOfTimes(String binding,
int numOfTimes) |
void |
setAsExecuteOnce(String binding) |
void |
setAsExecutePeriodically(String binding,
long execInterval) |
void |
setAsExecuteWhenDataAvailable(String binding) |
void |
setAsStayAlive(String binding) |
String |
toString() |
public ExecutionProfileSetup(String operationBinding)
public ExecutionProfileSetup(byte[] marshalledBytes)
throws IOException
IOExceptionpublic byte[] getBytes()
throws IOException
IOExceptionpublic void setAsExecuteOnce(String binding)
public void changeToExecuteOnce()
public void setAsExecutePeriodically(String binding, long execInterval)
public void changeToExecutePeriodically(long execInterval)
public void setAsExecuteFixedNumberOfTimes(String binding, int numOfTimes)
public void changeToExecuteFixedNumberOfTimes(int numOfTimes)
public void setAsStayAlive(String binding)
public void changeToStayAlive()
public void setAsExecuteWhenDataAvailable(String binding)
public void changeToExecuteWhenDataAvailable()
public void setAsExecuteContinuously(String binding)
public void changeToExecuteContinuously()
public long getExecutionInterval()
ExecutionProfilegetExecutionInterval in interface ExecutionProfilepublic int getNumberOfTimesToExecute()
ExecutionProfilegetNumberOfTimesToExecute in interface ExecutionProfilepublic boolean isExcuteAFixedNumberOfTimes()
ExecutionProfileisExcuteAFixedNumberOfTimes in interface ExecutionProfiletrue if the operation needs to be executed a fixed
number of times;false otherwise.public boolean isExecuteOnce()
ExecutionProfileisExecuteOnce in interface ExecutionProfiletrue if this is to be executed once;
false otherwise.public boolean isExecutePeriodically()
ExecutionProfileisExecutePeriodically in interface ExecutionProfiletrue if this is to be executed periodically;
false otherwise.public boolean isExecuteWhenDataAvailable()
ExecutionProfileisExecuteWhenDataAvailable in interface ExecutionProfiletrue if this is execute when data is available;
false otherwise.public boolean isExecuteContinuously()
ExecutionProfileisExecuteContinuously in interface ExecutionProfiletrue if this is execute continuously;
false otherwise.public boolean isStayAlive()
ExecutionProfileisStayAlive in interface ExecutionProfiletrue if this is stay alive;
false otherwise.Copyright © 2015. All rights reserved.