Package jline.lang.layered
Class FunctionTask
java.lang.Object
jline.lang.Element
jline.lang.layered.LayeredNetworkElement
jline.lang.layered.Task
jline.lang.layered.SetupTask
jline.lang.layered.FunctionTask
- All Implemented Interfaces:
Serializable,Copyable
Deprecated.
Use SetupTask, or a plain Task with setSetupTime() and setDelayOffTime().
FunctionTask is the former name of SetupTask, retained for backward compatibility.
Setup and delay-off times are not specific to serverless (function-as-a-service) platforms, so the class carrying them is now named after the modelling primitive rather than after that application domain.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jline.lang.layered.LayeredNetworkElement
LayeredNetworkElement.LinConRow, LayeredNetworkElement.ServerPool -
Field Summary
Fields inherited from class jline.lang.layered.Task
activities, delayOffTime, delayOffTimeMean, delayOffTimeSCV, entries, fanInSource, fanInValue, fanOutMap, multiplicity, parent, precedences, priority, replication, scheduling, setupTime, setupTimeMean, setupTimeSCV, thinkTime, thinkTimeMean, thinkTimeSCVFields inherited from class jline.lang.layered.LayeredNetworkElement
ACTIVITY, CALL, ENTRY, HOST, lcdScaling, lcdScalingPeak, linConA, linConB, linConRows, ljdScaling, ljdScalingPeak, lldScaling, model, PROCESSOR, serverPools, TASK -
Constructor Summary
ConstructorsConstructorDescriptionFunctionTask(LayeredNetwork model, String name) Deprecated.Constructor with default multiplicity and scheduling.FunctionTask(LayeredNetwork model, String name, int multiplicity) Deprecated.Constructor with default scheduling strategy (FCFS).FunctionTask(LayeredNetwork model, String name, int multiplicity, SchedStrategy scheduling) Deprecated.Constructor for FunctionTask. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.setDelayOffTime(double delayOffTime) Deprecated.Set the delay-off time using a mean value (creates exponential distribution).setDelayOffTime(Distribution delayOffTime) Deprecated.Set the delay-off time (teardown time) for the task.setSetupTime(double setupTime) Deprecated.Set the setup time using a mean value (creates exponential distribution).setSetupTime(Distribution setupTime) Deprecated.Set the setup time (cold start time) for the task.setThinkTime(double thinkTime) Deprecated.setThinkTime(Distribution thinkTime) Deprecated.Methods inherited from class jline.lang.layered.Task
addActivity, addEntry, addPrecedence, addPrecedence, addPrecedence, getActivities, getDelayOffTime, getDelayOffTimeMean, getDelayOffTimeSCV, getEntries, getFanInSource, getFanInValue, getFanOutMap, getMeanHostDemand, getMultiplicity, getParent, getPrecedences, getPriority, getProcessor, getReplication, getScheduling, getSetupTime, getSetupTimeMean, getSetupTimeSCV, getThinkTime, getThinkTimeMean, getThinkTimeSCV, hasSetupDelayoff, removeActivity, setActivity, setAsReferenceTask, setFanIn, setFanOut, setMultiplicity, setPriority, setReplication, setReplyEntry, setSchedulingMethods inherited from class jline.lang.layered.LayeredNetworkElement
addConstraint, addConstraintByName, addServerType, getLinearConstraints, getServerTypes, hasLinearConstraints, hasRateDependence, hasServerPools, setClassDependence, setConstraint, setJointDependence, setLoadDependence
-
Constructor Details
-
FunctionTask
Deprecated.Constructor for FunctionTask.- Parameters:
model- The LayeredNetwork model this task belongs toname- The name of the taskmultiplicity- The number of servers that can run concurrentlyscheduling- The scheduling strategy for the servers
-
FunctionTask
Deprecated.Constructor with default scheduling strategy (FCFS). -
FunctionTask
Deprecated.Constructor with default multiplicity and scheduling.
-
-
Method Details
-
on
Deprecated. -
setThinkTime
Deprecated.- Overrides:
setThinkTimein classSetupTask
-
setThinkTime
Deprecated.- Overrides:
setThinkTimein classSetupTask
-
setSetupTime
Deprecated.Description copied from class:TaskSet the setup time (cold start time) for the task.- Overrides:
setSetupTimein classSetupTask- Parameters:
setupTime- The setup time distribution- Returns:
- This Task instance for method chaining
-
setSetupTime
Deprecated.Description copied from class:TaskSet the setup time using a mean value (creates exponential distribution).- Overrides:
setSetupTimein classSetupTask- Parameters:
setupTime- The mean setup time- Returns:
- This Task instance for method chaining
-
setDelayOffTime
Deprecated.Description copied from class:TaskSet the delay-off time (teardown time) for the task.- Overrides:
setDelayOffTimein classSetupTask- Parameters:
delayOffTime- The delay-off time distribution- Returns:
- This Task instance for method chaining
-
setDelayOffTime
Deprecated.Description copied from class:TaskSet the delay-off time using a mean value (creates exponential distribution).- Overrides:
setDelayOffTimein classSetupTask- Parameters:
delayOffTime- The mean delay-off time- Returns:
- This Task instance for method chaining
-