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 executionInterval) |
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 executionInterval) |
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.IOException
public byte[] getBytes() throws java.io.IOException
java.io.IOException
public void setAsExecuteOnce(java.lang.String binding)
public void changeToExecuteOnce()
public void setAsExecutePeriodically(java.lang.String binding, long executionInterval)
public void changeToExecutePeriodically(long executionInterval)
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()
ExecutionProfile
getExecutionInterval
in interface ExecutionProfile
public int getNumberOfTimesToExecute()
ExecutionProfile
getNumberOfTimesToExecute
in interface ExecutionProfile
public boolean isExcuteAFixedNumberOfTimes()
ExecutionProfile
isExcuteAFixedNumberOfTimes
in interface ExecutionProfile
true
if the operation needs to be executed a fixed
number of times;false
otherwise.public boolean isExecuteOnce()
ExecutionProfile
isExecuteOnce
in interface ExecutionProfile
true
if this is to be executed once;
false
otherwise.public boolean isExecutePeriodically()
ExecutionProfile
isExecutePeriodically
in interface ExecutionProfile
true
if this is to be executed periodically;
false
otherwise.public boolean isExecuteWhenDataAvailable()
ExecutionProfile
isExecuteWhenDataAvailable
in interface ExecutionProfile
true
if this is execute when data is available;
false
otherwise.public boolean isStayAlive()
ExecutionProfile
isStayAlive
in interface ExecutionProfile
true
if this is stay alive; false
otherwise.public java.lang.String toString()
toString
in class java.lang.Object