|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PATH_ELEMENT
- public interface IPathExecutionEstimator<PATH_ELEMENT>
Simple interface that defines a method for estimating timeout for traveling along the path.
Implementors can be used to provide maximum time (timeout) that is needed to reach the end of the path.
It is useful for IPathExecutor
so it won't stuck whenever the execution fails unexpectedly.
Method Summary | |
---|---|
double |
getTimeout(java.util.List<PATH_ELEMENT> path)
Returns maximum amount of time (in ms) that is needed to follow the path and reach its end. |
Method Detail |
---|
double getTimeout(java.util.List<PATH_ELEMENT> path)
Usually used to determine timeout for path execution by IPathExecutor
.
path
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |