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
IOException
public byte[] getBytes() throws IOException
IOException
public 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()
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 isExecuteContinuously()
ExecutionProfile
isExecuteContinuously
in interface ExecutionProfile
true
if this is execute continuously;
false
otherwise.public boolean isStayAlive()
ExecutionProfile
isStayAlive
in interface ExecutionProfile
true
if this is stay alive;
false
otherwise.Copyright © 2015. All rights reserved.