Uses of Class
jline.util.LineTimeout.Scope
Packages that use LineTimeout.Scope
Package
Description
Solver superclasses and related data structures.
Fundamental data structures and utilities
-
Uses of LineTimeout.Scope in jline.solvers
Methods in jline.solvers that return LineTimeout.ScopeModifier and TypeMethodDescriptionprotected LineTimeout.ScopeSolver.armTimeout()Arms this solve's wall-clock budget (options.timeout) on the per-thread deadline stack ofLineTimeout.Methods in jline.solvers with parameters of type LineTimeout.ScopeModifier and TypeMethodDescriptionprotected booleanSolver.flagTimeout(LineTimeout.Scope scope) Closing check of the wall-clock budget (port of MATLAB flagTimeout.m): setsresult.timedOutfrom the TRIPPED LATCH of the scope, which also resets a flag left over from an earlier run, and warns once when a checkpoint of this solve (or of one nested in it) stopped it early. -
Uses of LineTimeout.Scope in jline.util
Methods in jline.util that return LineTimeout.ScopeModifier and TypeMethodDescriptionstatic LineTimeout.ScopeLineTimeout.arm(double budgetSeconds) Arm a budget ofbudgetSecondsfor the calling solve.static LineTimeout.ScopeLineTimeout.arm(LineTimeout.Deadline d) Arm a deadline captured on another thread (seeLineTimeout.current()).