Class TaskPerformanceConstraints
java.lang.Object
edu.tufts.hrilab.vision.reflection.TaskPerformanceConstraints
-
Constructor Summary
ConstructorsConstructorDescriptionTaskPerformanceConstraints
(TaskPerformanceConstraints constraints) TaskPerformanceConstraints
(ArrayList<String> availableHardware, long maxMemory, long maxLooptime, long maxTimeSinceLastClientUse, long maxTimeSinceLastResult) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
long
void
setHardware
(ArrayList<String> hardware) void
setMaxLooptime
(long maxLooptime) void
setMaxMemory
(long maxMemory) void
setMaxTimeSinceLastClientUse
(long maxTimeSinceLastClientUse) void
setMaxTimeSinceLastResult
(long maxTimeSinceLastResult)
-
Constructor Details
-
TaskPerformanceConstraints
public TaskPerformanceConstraints() -
TaskPerformanceConstraints
-
TaskPerformanceConstraints
-
-
Method Details
-
getHardware
-
setHardware
-
getMaxLooptime
public long getMaxLooptime() -
setMaxLooptime
public void setMaxLooptime(long maxLooptime) -
getMaxMemory
public long getMaxMemory() -
setMaxMemory
public void setMaxMemory(long maxMemory) -
getMaxTimeSinceLastClientUse
public long getMaxTimeSinceLastClientUse() -
setMaxTimeSinceLastClientUse
public void setMaxTimeSinceLastClientUse(long maxTimeSinceLastClientUse) -
getMaxTimeSinceLastResult
public long getMaxTimeSinceLastResult() -
setMaxTimeSinceLastResult
public void setMaxTimeSinceLastResult(long maxTimeSinceLastResult)
-