public class ExecutionProfileSetup extends java.lang.Object implements ExecutionProfile
| Constructor and Description |
|---|
ExecutionProfileSetup(byte[] marshalledBytes) |
ExecutionProfileSetup(java.lang.String operationBinding) |
| Modifier and Type | Method and Description |
|---|---|
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 |
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 |
setAsExecuteFixedNumberOfTimes(java.lang.String binding,
int numOfTimes) |
void |
setAsExecuteOnce(java.lang.String binding) |
void |
setAsExecutePeriodically(java.lang.String binding,
long execInterval) |
void |
setAsExecuteWhenDataAvailable(java.lang.String binding) |
void |
setAsStayAlive(java.lang.String binding) |
java.lang.String |
toString() |
public ExecutionProfileSetup(java.lang.String operationBinding)
public ExecutionProfileSetup(byte[] marshalledBytes)
throws java.io.IOException
java.io.IOExceptionpublic byte[] getBytes()
throws java.io.IOException
java.io.IOExceptionpublic void setAsExecuteOnce(java.lang.String binding)
public void changeToExecuteOnce()
public void setAsExecutePeriodically(java.lang.String binding,
long execInterval)
public void changeToExecutePeriodically(long execInterval)
public void setAsExecuteFixedNumberOfTimes(java.lang.String binding,
int numOfTimes)
public void changeToExecuteFixedNumberOfTimes(int numOfTimes)
public void setAsStayAlive(java.lang.String binding)
public void changeToStayAlive()
public void setAsExecuteWhenDataAvailable(java.lang.String binding)
public void changeToExecuteWhenDataAvailable()
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 isStayAlive()
ExecutionProfileisStayAlive in interface ExecutionProfiletrue if this is stay alive;
false otherwise.public java.lang.String toString()
toString in class java.lang.Object